Skip to content

Commit

Permalink
remove hasNodeLocalOnlyTasks
Browse files Browse the repository at this point in the history
  • Loading branch information
CodingCat committed Aug 4, 2014
1 parent fdd1573 commit 9b9432f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -416,7 +416,7 @@ private[spark] class TaskSetManager(

var allowedLocality = maxLocality

if (maxLocality != TaskLocality.NO_PREF || hasNodeLocalOnlyTasks) {
if (maxLocality != TaskLocality.NO_PREF) { //} || hasNodeLocalOnlyTasks) {
allowedLocality = getAllowedLocalityLevel(curTime)
if (allowedLocality > maxLocality) {
// We're not allowed to search for farther-away tasks
Expand Down

0 comments on commit 9b9432f

Please sign in to comment.