[ 
https://issues.apache.org/jira/browse/SPARK-5644?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14308719#comment-14308719
 ] 

Apache Spark commented on SPARK-5644:
-------------------------------------

User 'Sephiroth-Lin' has created a pull request for this issue:
https://github.com/apache/spark/pull/4412

> Delete tmp dir when sc is stop
> ------------------------------
>
>                 Key: SPARK-5644
>                 URL: https://issues.apache.org/jira/browse/SPARK-5644
>             Project: Spark
>          Issue Type: Improvement
>          Components: Spark Core
>            Reporter: Weizhong
>            Priority: Minor
>
> When we run driver as a service which will not stop. In this service process 
> we will create SparkContext and run job and then stop it, because we only 
> call sc.stop but not exit this service process so the tmp dirs created by 
> HttpFileServer and SparkEnv will not be deleted after SparkContext is 
> stopped, and this will lead to creating too many tmp dirs if we create many 
> SparkContext to run job in this service process.



--
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

Reply via email to