Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Won't Fix
-
1.0.0, 1.0.1
-
None
-
None
Description
Now the Spark in the code, there are a lot of interface or class defines the stop and start method,eg:SchedulerBackend,[HttpServer|https://github.com/apache/spark/blob/master/core/src/main/scala/org/apache/spark/HttpServer.scala],[ContextCleaner|https://github.com/apache/spark/blob/master/core/src/main/scala/org/apache/spark/ContextCleaner.scala] . we should use a life cycle interface improve the code
Attachments
Issue Links
- is related to
-
SPARK-3470 Have JavaSparkContext implement Closeable/AutoCloseable
- Resolved
- links to