Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
mateiz committed Jan 2, 2014
2 parents ca67909 + 5e67cdc commit 7bafb68
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -328,7 +328,7 @@ private[spark] class TaskSchedulerImpl(
// Have each task set throw a SparkException with the error
for ((taskSetId, manager) <- activeTaskSets) {
try {
manager.error(message)
manager.abort(message)
} catch {
case e: Exception => logError("Exception in error callback", e)
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -548,11 +548,6 @@ private[spark] class TaskSetManager(
}
}

def error(message: String) {
// Save the error message
abort("Error: " + message)
}

def abort(message: String) {
// TODO: Kill running tasks if we were not terminated due to a Mesos error
sched.dagScheduler.taskSetFailed(taskSet, message)
Expand Down

0 comments on commit 7bafb68

Please sign in to comment.