[ https://issues.apache.org/jira/browse/SPARK-3470?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14128778#comment-14128778 ]
Matthew Farrellee commented on SPARK-3470: ------------------------------------------ i stand corrected. http://spark.apache.org/docs/1.0.2/ does say "Spark runs on Java 6+ and Python 2.6+. For the Scala API, Spark 1.0.2 uses Scala 2.10. You will need to use a compatible Scala version (2.10.x)." since java 6 is EOL, i hope spark will become java 7+ soon. > Have JavaSparkContext implement Closeable/AutoCloseable > ------------------------------------------------------- > > Key: SPARK-3470 > URL: https://issues.apache.org/jira/browse/SPARK-3470 > Project: Spark > Issue Type: New Feature > Components: Spark Core > Affects Versions: 1.0.2 > Reporter: Shay Rojansky > Priority: Minor > > After discussion in SPARK-2972, it seems like a good idea to allow Java > developers to use Java 7 automatic resource management with JavaSparkContext, > like so: > {code:java} > try (JavaSparkContext ctx = new JavaSparkContext(...)) { > return br.readLine(); > } > {code} -- 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