public abstract class AbstractDrillbitScheduler extends PersistentTaskScheduler
The key purpose of this class is to abstract Drillbit-speicific code from the rest of the AM cluster controller. We do so for several reasons: ease of testing (we can use mock tasks), ability to handle additional server types in the future, and a way to keep each module focused on a single task (as the controller and its state machine is complex enough without mixing in Drillbit specifics.)
|Modifier and Type||Class and Description|
Interface to provide Drill-bit specific behavior.
|Constructor and Description|
adjust, completed, getProgress, getTarget, hasMoreTasks, requestTimedOut, resize
addTasks, change, getName, getRequestTimeoutSec, getResource, getTaskManager, getType, isTracked, limitContainerSize, registerState, setPriority, setTaskManager
Copyright © 1970 The Apache Software Foundation. All rights reserved.