Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
SPARK-1689: Spark application should die when removed by Master
scheduler.error() will mask the error if there are active tasks. Being removed is a cataclysmic event for Spark applications, and should probably be treated as such.

Author: Aaron Davidson <[email protected]>

Closes apache#832 from aarondav/i-love-u and squashes the following commits:

9f1200f [Aaron Davidson] SPARK-1689: Spark application should die when removed by Master

Conflicts:
	core/src/main/scala/org/apache/spark/scheduler/cluster/SparkDeploySchedulerBackend.scala
  • Loading branch information
aarondav authored and markhamstra committed May 21, 2014
commit 53bccecb096c8acecd62d41525d4bb1af953c75f
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,8 @@ private[spark] class SparkDeploySchedulerBackend(
if (!stopping) {
logError("Spark cluster looks dead, giving up.")
scheduler.error("Spark cluster looks down")
// Ensure the application terminates, as we can no longer run jobs.
sc.stop()
}
}

Expand Down