Difference between revisions of "Scheduler Hook Points"

From Lawa
Jump to: navigation, search
 
Line 9: Line 9:
  
  
------ Classes dealing with block placements -------
+
[[Classes dealing with block placements]]
  
 
The BlockPlacementPolicy interface and its default implementation BlockPalcementPolicyDefault, used to choose on which machine to put blocks (for each block).
 
The BlockPlacementPolicy interface and its default implementation BlockPalcementPolicyDefault, used to choose on which machine to put blocks (for each block).

Latest revision as of 13:20, 3 July 2011

Below are suspected locations of interest regarding the CDH3 (0.20.2) task scheduler:

src/mapred/org/apache/hadoop/mapred/TaskScheduler.java - Topmost interface for all schedulers.
src/mapred/org/apache/hadoop/mapred/JobQueueTaskScheduler.java - Default FIFO Scheduler.
src/contrib/fairscheduler - Fair Scheduler.
src/contrib/capacity-scheduler - Another Scheduler.


Classes dealing with block placements

The BlockPlacementPolicy interface and its default implementation BlockPalcementPolicyDefault, used to choose on which machine to put blocks (for each block).