Skip to content

Commit

Permalink
Revert the change to core
Browse files Browse the repository at this point in the history
  • Loading branch information
zsxwing committed Oct 17, 2015
1 parent 2d7c030 commit 49b7792
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -388,7 +388,7 @@ private[spark] class TaskSetManager(
if (TaskLocality.isAllowed(maxLocality, TaskLocality.NO_PREF)) {
// Look for noPref tasks after NODE_LOCAL for minimize cross-rack traffic
for (index <- dequeueTaskFromList(execId, pendingTasksWithNoPrefs)) {
return Some((index, TaskLocality.NO_PREF, false))
return Some((index, TaskLocality.PROCESS_LOCAL, false))
}
}

Expand Down

0 comments on commit 49b7792

Please sign in to comment.