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 |
---|---|
class |
AbstractDrillbitScheduler.DrillbitManager
Interface to provide Drill-bit specific behavior.
|
Scheduler.TaskManager
quantity
failCount, isTracked, priority, state, taskManager, taskSpec
Constructor and Description |
---|
AbstractDrillbitScheduler(String type,
String name,
int quantity) |
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.