aboutsummaryrefslogtreecommitdiff
path: root/mllib-local
diff options
context:
space:
mode:
authorSean Owen <sowen@cloudera.com>2016-11-19 09:00:11 +0000
committerSean Owen <sowen@cloudera.com>2016-11-19 09:00:11 +0000
commitdb9fb9baacbf8640dd37a507b7450db727c7e6ea (patch)
tree26b59a6df66eee13d65dc438c8fa954736a85f90 /mllib-local
parent2a40de408b5eb47edba92f9fe92a42ed1e78bf98 (diff)
downloadspark-db9fb9baacbf8640dd37a507b7450db727c7e6ea.tar.gz
spark-db9fb9baacbf8640dd37a507b7450db727c7e6ea.tar.bz2
spark-db9fb9baacbf8640dd37a507b7450db727c7e6ea.zip
[SPARK-18448][CORE] SparkSession should implement java.lang.AutoCloseable like JavaSparkContext
## What changes were proposed in this pull request? Just adds `close()` + `Closeable` as a synonym for `stop()`. This makes it usable in Java in try-with-resources, as suggested by ash211 (`Closeable` extends `AutoCloseable` BTW) ## How was this patch tested? Existing tests Author: Sean Owen <sowen@cloudera.com> Closes #15932 from srowen/SPARK-18448.
Diffstat (limited to 'mllib-local')
0 files changed, 0 insertions, 0 deletions