diff options
author | jerryshao <saisai.shao@intel.com> | 2015-05-11 14:38:58 -0700 |
---|---|---|
committer | Tathagata Das <tathagata.das1565@gmail.com> | 2015-05-11 14:38:58 -0700 |
commit | 25c01c54840a9ab768f8b917de7edc2bc2d61b9e (patch) | |
tree | ecb0f9aeaa6b0940992c56cd7231e161faa38058 /dev/run-tests-jenkins | |
parent | 8e674331d9ce98068b44e4d483b6d35cef0648fa (diff) | |
download | spark-25c01c54840a9ab768f8b917de7edc2bc2d61b9e.tar.gz spark-25c01c54840a9ab768f8b917de7edc2bc2d61b9e.tar.bz2 spark-25c01c54840a9ab768f8b917de7edc2bc2d61b9e.zip |
[STREAMING] [MINOR] Close files correctly when iterator is finished in streaming WAL recovery
Currently there's no chance to close the file correctly after the iteration is finished, change to `CompletionIterator` to avoid resource leakage.
Author: jerryshao <saisai.shao@intel.com>
Closes #6050 from jerryshao/close-file-correctly and squashes the following commits:
52dfaf5 [jerryshao] Close files correctly when iterator is finished
Diffstat (limited to 'dev/run-tests-jenkins')
0 files changed, 0 insertions, 0 deletions