[ 
https://issues.apache.org/jira/browse/SPARK-18751?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Apache Spark reassigned SPARK-18751:
------------------------------------

    Assignee: Apache Spark  (was: Shixiong Zhu)

> Deadlock when SparkContext.stop is called in Utils.tryOrStopSparkContext
> ------------------------------------------------------------------------
>
>                 Key: SPARK-18751
>                 URL: https://issues.apache.org/jira/browse/SPARK-18751
>             Project: Spark
>          Issue Type: Improvement
>          Components: Spark Core
>    Affects Versions: 1.6.3, 2.0.2
>            Reporter: Shixiong Zhu
>            Assignee: Apache Spark
>
> When SparkContext.stop is called in Utils.tryOrStopSparkContext (the 
> following three places), it will cause deadlock because the stop method needs 
> to wait for the thread running stop to exit.
> - ContextCleaner.keepCleaning
> - LiveListenerBus.listenerThread.run
> - TaskSchedulerImpl.start



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