You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Andrew Ash (JIRA)" <ji...@apache.org> on 2016/11/15 19:37:59 UTC
[jira] [Created] (SPARK-18448) SparkSession should implement
java.lang.AutoCloseable like JavaSparkContext
Andrew Ash created SPARK-18448:
----------------------------------
Summary: SparkSession should implement java.lang.AutoCloseable like JavaSparkContext
Key: SPARK-18448
URL: https://issues.apache.org/jira/browse/SPARK-18448
Project: Spark
Issue Type: Bug
Components: Spark Core
Affects Versions: 2.0.2
Reporter: Andrew Ash
https://docs.oracle.com/javase/8/docs/api/java/lang/AutoCloseable.html
This makes using cleaning up SparkSessions in Java easier, but may introduce a Java 8 dependency if applied directly. JavaSparkContext uses java.io.Closeable I think to avoid this Java 8 dependency.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org