Details
-
New Feature
-
Status: Resolved
-
Minor
-
Resolution: Not A Problem
-
1.0.2
-
None
-
None
Description
After discussion in SPARK-2972, it seems like a good idea to add "automatic resource management" semantics to SparkContext (i.e. "with" in Python (SPARK-3458), Closeable/AutoCloseable in Java (SPARK-3470)).
I have no knowledge of Scala whatsoever, but a quick search seems to indicate that there isn't a standard mechanism for this - someone with real Scala knowledge should take a look and make a decision...
Attachments
Issue Links
- relates to
-
SPARK-3458 enable use of python's "with" statements for SparkContext management
- Resolved
-
SPARK-3470 Have JavaSparkContext implement Closeable/AutoCloseable
- Resolved