Skip to content
Snippets Groups Projects
Commit 0b70dae2 authored by Matei Zaharia's avatar Matei Zaharia
Browse files

Merge pull request #127 from alupher/master

End task instead of just exiting in LocalScheduler for tasks that throw exceptions
parents f709b3ad 3e488189
No related branches found
No related tags found
No related merge requests found
...@@ -58,7 +58,7 @@ private class LocalScheduler(threads: Int, maxFailures: Int) extends DAGSchedule ...@@ -58,7 +58,7 @@ private class LocalScheduler(threads: Int, maxFailures: Int) extends DAGSchedule
submitTask(task, idInJob) submitTask(task, idInJob)
} else { } else {
// TODO: Do something nicer here to return all the way to the user // TODO: Do something nicer here to return all the way to the user
System.exit(1) taskEnded(task, new ExceptionFailure(t), null, null)
} }
} }
} }
......
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