SchedulingAlgorithm
FIFO: FIFO algorithm between TaskSetManagers
FS: FS algorithm between Pools, and FIFO or FS within Pools
Schedulable(Pool, TaskSetManager)
1 | def comparator(s1: Schedulable, s2: Schedulable): Boolean |
FIFOSchedulingAlgorithm
1 | override def comparator(s1: Schedulable, s2: Schedulable): Boolean = { |
FairSchedulingAlgorithm
1 | override def comparator(s1: Schedulable, s2: Schedulable): Boolean = { |
Links
- Author:HyperJ
- Source:HyperJ’s Blog
- Link:Spark Scheduling - Algorithm