[jira] [Commented] (SPARK-18448) SparkSession should implement java.lang.AutoCloseable like JavaSparkContext
[ https://issues.apache.org/jira/browse/SPARK-18448?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15679084#comment-15679084 ] Apache Spark commented on SPARK-18448: -- User 'srowen' has created a pull request for this issue: https://github.com/apache/spark/pull/15938 > SparkSession should implement java.lang.AutoCloseable like JavaSparkContext > --- > > Key: SPARK-18448 > URL: https://issues.apache.org/jira/browse/SPARK-18448 > Project: Spark > Issue Type: Improvement > Components: Spark Core >Affects Versions: 2.0.2 >Reporter: Andrew Ash >Assignee: Sean Owen >Priority: Trivial > Fix For: 2.1.0 > > > 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-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org
[jira] [Commented] (SPARK-18448) SparkSession should implement java.lang.AutoCloseable like JavaSparkContext
[ https://issues.apache.org/jira/browse/SPARK-18448?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15676878#comment-15676878 ] Apache Spark commented on SPARK-18448: -- User 'srowen' has created a pull request for this issue: https://github.com/apache/spark/pull/15932 > SparkSession should implement java.lang.AutoCloseable like JavaSparkContext > --- > > Key: SPARK-18448 > URL: https://issues.apache.org/jira/browse/SPARK-18448 > Project: Spark > Issue Type: Improvement > Components: Spark Core >Affects Versions: 2.0.2 >Reporter: Andrew Ash >Priority: Trivial > > 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-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org