Bug fix from Justin

This commit is contained in:
Matei Zaharia 2010-08-13 11:29:19 -07:00
parent a9481c3514
commit 3d8d7fd557

View file

@ -279,7 +279,7 @@ extends ParallelOperation
def taskLost(status: TaskStatus) {
val tid = status.getTaskId
println("Lost TID " + tid)
if (!finished(tid)) {
if (!finished(tidToIndex(tid))) {
launched(tidToIndex(tid)) = false
tasksLaunched -= 1
} else {