diff options
author | Marcelo Vanzin <vanzin@cloudera.com> | 2015-04-27 19:46:17 -0400 |
---|---|---|
committer | Sean Owen <sowen@cloudera.com> | 2015-04-27 19:46:17 -0400 |
commit | 5d45e1f60059e2f2fc8ad64778b9ddcc8887c570 (patch) | |
tree | 149be28032b602497d6d8d7adf03f965448db669 /.gitattributes | |
parent | 8e1c00dbf4b60962908626dead744e5d73c8085e (diff) | |
download | spark-5d45e1f60059e2f2fc8ad64778b9ddcc8887c570.tar.gz spark-5d45e1f60059e2f2fc8ad64778b9ddcc8887c570.tar.bz2 spark-5d45e1f60059e2f2fc8ad64778b9ddcc8887c570.zip |
[SPARK-3090] [CORE] Stop SparkContext if user forgets to.
Set up a shutdown hook to try to stop the Spark context in
case the user forgets to do it. The main effect is that any
open logs files are flushed and closed, which is particularly
interesting for event logs.
Author: Marcelo Vanzin <vanzin@cloudera.com>
Closes #5696 from vanzin/SPARK-3090 and squashes the following commits:
3b554b5 [Marcelo Vanzin] [SPARK-3090] [core] Stop SparkContext if user forgets to.
Diffstat (limited to '.gitattributes')
0 files changed, 0 insertions, 0 deletions