Skip to content
Snippets Groups Projects
Commit f0ce736f authored by Qiuzhuang Lian's avatar Qiuzhuang Lian Committed by Patrick Wendell
Browse files

Merge pull request #561 from Qiuzhuang/master. Closes #561.

Kill drivers in postStop() for Worker.

 JIRA SPARK-1068:https://spark-project.atlassian.net/browse/SPARK-1068

Author: Qiuzhuang Lian <Qiuzhuang.Lian@gmail.com>

== Merge branch commits ==

commit 9c19ce63637eee9369edd235979288d3d9fc9105
Author: Qiuzhuang Lian <Qiuzhuang.Lian@gmail.com>
Date:   Sat Feb 8 16:07:39 2014 +0800

    Kill drivers in postStop() for Worker.
     JIRA SPARK-1068:https://spark-project.atlassian.net/browse/SPARK-1068
parent 78050805
No related branches found
No related tags found
No related merge requests found
......@@ -325,6 +325,7 @@ private[spark] class Worker(
override def postStop() {
executors.values.foreach(_.kill())
drivers.values.foreach(_.kill())
webUi.stop()
metricsSystem.stop()
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment