apache/spark — pull request #892 by lirui-intel (2014-05-27 08:17:03+00:00)
Title: SPARK-1937: fix issue with task locality

Don't check executor/host availability when creating a TaskSetManager. Because the executors may haven't been registered when the TaskSetManager is created, in which case all tasks will be considered "has no preferred locations", and thus losing data locality in later scheduling.