Skip to content

Commit

Permalink
Roll back copiesRunning change in TaskSetManager
Browse files Browse the repository at this point in the history
  • Loading branch information
JoshRosen committed Feb 5, 2015
1 parent 3969f5f commit 48d5c1c
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -597,9 +597,7 @@ private[spark] class TaskSetManager(
removeRunningTask(tid)
info.markFailed()
val index = info.index
if (copiesRunning(index) >= 1) {
copiesRunning(index) -= 1
}
copiesRunning(index) -= 1
var taskMetrics : TaskMetrics = null

val failureReason = s"Lost task ${info.id} in stage ${taskSet.id} (TID $tid, ${info.host}): " +
Expand Down

0 comments on commit 48d5c1c

Please sign in to comment.