clearstorydata/spark — pull request #2 by markhamstra (2014-03-14 21:35:13+00:00)
Title: Backport [SPARK-979] Randomize order of offers.

This commit randomizes the order of resource offers to avoid scheduling
all tasks on the same small set of machines.

This is a much simpler solution to SPARK-979 than #7.

Author: Kay Ousterhout

Closes #27 from kayousterhout/randomize and squashes the following commits:

435d817 [Kay Ousterhout] [SPARK-979] Randomize order of offers.

Conflicts:
core/src/test/scala/org/apache/spark/scheduler/cluster/ClusterSchedulerSuite.scala
core/src/test/scala/org/apache/spark/scheduler/cluster/ClusterTaskSetManagerSuite.scala