Package org.apache.drill.yarn.appMaster
Class AbstractTaskManager
java.lang.Object
org.apache.drill.yarn.appMaster.AbstractTaskManager
- All Implemented Interfaces:
Scheduler.TaskManager
- Direct Known Subclasses:
AbstractDrillbitScheduler.DrillbitManager
Task manager that does nothing.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
allocated
(EventContext context) void
completed
(EventContext context) getLaunchSpec
(Task task) boolean
isLive
(EventContext context) int
boolean
-
Constructor Details
-
AbstractTaskManager
public AbstractTaskManager()
-
-
Method Details
-
maxConcurrentAllocs
public int maxConcurrentAllocs()- Specified by:
maxConcurrentAllocs
in interfaceScheduler.TaskManager
-
allocated
- Specified by:
allocated
in interfaceScheduler.TaskManager
-
getLaunchSpec
- Specified by:
getLaunchSpec
in interfaceScheduler.TaskManager
-
stop
- Specified by:
stop
in interfaceScheduler.TaskManager
-
completed
- Specified by:
completed
in interfaceScheduler.TaskManager
-
isLive
- Specified by:
isLive
in interfaceScheduler.TaskManager
-