diff options
author | lisurprise <zhichao.li@intel.com> | 2015-04-13 12:18:05 +0100 |
---|---|---|
committer | Sean Owen <sowen@cloudera.com> | 2015-04-13 12:18:05 +0100 |
commit | cadd7d72c52ccc8d2def405a77dcf807fb5c17c2 (patch) | |
tree | bba6add9a480636dea61ae760e9e7b58fd70e0c7 /sbin | |
parent | 950645d597dbc5a8c5010bcb1a9b51c6abad86ea (diff) | |
download | spark-cadd7d72c52ccc8d2def405a77dcf807fb5c17c2.tar.gz spark-cadd7d72c52ccc8d2def405a77dcf807fb5c17c2.tar.bz2 spark-cadd7d72c52ccc8d2def405a77dcf807fb5c17c2.zip |
[SPARK-6762]Fix potential resource leaks in CheckPoint CheckpointWriter and CheckpointReader
The close action should be placed within finally block to avoid the potential resource leaks
Author: lisurprise <zhichao.li@intel.com>
Closes #5407 from zhichao-li/master and squashes the following commits:
065999f [lisurprise] add guard for null
ef862d6 [lisurprise] remove fs.close
a754adc [lisurprise] refactor with tryWithSafeFinally
824adb3 [lisurprise] close before validation
c877da7 [lisurprise] Fix potential resource leaks
Diffstat (limited to 'sbin')
0 files changed, 0 insertions, 0 deletions