Skip to content

Commit be72f41

Browse files
committed
Merge pull request #15 from markhamstra/SPARK-1689
SKIPME backport SPARK-1689
2 parents ab96fc3 + cecf946 commit be72f41

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

core/src/main/scala/org/apache/spark/scheduler/cluster/SparkDeploySchedulerBackend.scala

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,8 @@ private[spark] class SparkDeploySchedulerBackend(
8181
if (!stopping) {
8282
logError("Spark cluster looks dead, giving up.")
8383
scheduler.error("Spark cluster looks down")
84+
// Ensure the application terminates, as we can no longer run jobs.
85+
sc.stop()
8486
}
8587
}
8688

0 commit comments

Comments
 (0)