-
- Downloads
[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 <kayousterhout@gmail.com> Closes #27 from kayousterhout/randomize and squashes the following commits: 435d817 [Kay Ousterhout] [SPARK-979] Randomize order of offers.
Showing
- core/src/main/scala/org/apache/spark/scheduler/TaskSchedulerImpl.scala 9 additions, 6 deletions.../scala/org/apache/spark/scheduler/TaskSchedulerImpl.scala
- core/src/test/scala/org/apache/spark/scheduler/FakeTask.scala 16 additions, 0 deletions.../src/test/scala/org/apache/spark/scheduler/FakeTask.scala
- core/src/test/scala/org/apache/spark/scheduler/TaskSchedulerImplSuite.scala 43 additions, 13 deletions...a/org/apache/spark/scheduler/TaskSchedulerImplSuite.scala
- core/src/test/scala/org/apache/spark/scheduler/TaskSetManagerSuite.scala 7 additions, 22 deletions...cala/org/apache/spark/scheduler/TaskSetManagerSuite.scala
Please register or sign in to comment