spark-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shixiong Zhu (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (SPARK-18751) Deadlock when SparkContext.stop is called in Utils.tryOrStopSparkContext
Date Thu, 08 Dec 2016 19:54:58 GMT

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

Shixiong Zhu resolved SPARK-18751.
----------------------------------
       Resolution: Fixed
    Fix Version/s: 2.2.0
                   2.1.1

> 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, 2.1.0
>            Reporter: Shixiong Zhu
>            Assignee: Shixiong Zhu
>             Fix For: 2.1.1, 2.2.0
>
>
> 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-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org


Mime
View raw message