diff options
author | wm624@hotmail.com <wm624@hotmail.com> | 2016-11-10 10:54:36 +0000 |
---|---|---|
committer | Sean Owen <sowen@cloudera.com> | 2016-11-10 10:54:36 +0000 |
commit | 22a9d064e95af71f757113f1869f754cc862df35 (patch) | |
tree | 84ef9a282f54df6be1e44642863db65d2f4f8512 /dev/deps/spark-deps-hadoop-2.6 | |
parent | 96a59109a912db9d5f6fc07dedd9d8a3eee97b96 (diff) | |
download | spark-22a9d064e95af71f757113f1869f754cc862df35.tar.gz spark-22a9d064e95af71f757113f1869f754cc862df35.tar.bz2 spark-22a9d064e95af71f757113f1869f754cc862df35.zip |
[SPARK-14914][CORE] Fix Resource not closed after using, for unit tests and example
## What changes were proposed in this pull request?
This is a follow-up work of #15618.
Close file source;
For any newly created streaming context outside the withContext, explicitly close the context.
## How was this patch tested?
Existing unit tests.
Author: wm624@hotmail.com <wm624@hotmail.com>
Closes #15818 from wangmiao1981/rtest.
Diffstat (limited to 'dev/deps/spark-deps-hadoop-2.6')
0 files changed, 0 insertions, 0 deletions