Skip to content

Commit

Permalink
Merge pull request alteryx#126 from kayousterhout/local_fix
Browse files Browse the repository at this point in the history
Fixed incorrect log message in local scheduler

This change is especially relevant at the moment, because some users are seeing this failure, and the log message is misleading/incorrect (because for the tests, the max failures is set to 0, not 4)

(cherry picked from commit dc9ce16)
Signed-off-by: Reynold Xin <[email protected]>
  • Loading branch information
mateiz authored and rxin committed Nov 4, 2013
1 parent 504fe74 commit ba0e858
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ private[spark] class LocalTaskSetManager(sched: LocalScheduler, val taskSet: Tas
reason.className, reason.description, locs.mkString("\n")))
if (numFailures(index) > MAX_TASK_FAILURES) {
val errorMessage = "Task %s:%d failed more than %d times; aborting job %s".format(
taskSet.id, index, 4, reason.description)
taskSet.id, index, MAX_TASK_FAILURES, reason.description)
decreaseRunningTasks(runningTasks)
sched.dagScheduler.taskSetFailed(taskSet, errorMessage)
// need to delete failed Taskset from schedule queue
Expand Down

0 comments on commit ba0e858

Please sign in to comment.