public class AbstractDrillbitScheduler.DrillbitManager extends AbstractTaskManager
| Constructor and Description |
|---|
DrillbitManager() |
| Modifier and Type | Method and Description |
|---|---|
void |
allocated(EventContext context) |
void |
completed(EventContext context) |
boolean |
isLive(EventContext context) |
int |
maxConcurrentAllocs()
Allow only one concurrent container request by default to ensure that the
node blacklist mechanism works to ensure that the RM does not allocate
two containers on the same node.
|
getLaunchSpec, stoppublic int maxConcurrentAllocs()
maxConcurrentAllocs in interface Scheduler.TaskManagermaxConcurrentAllocs in class AbstractTaskManagerpublic void allocated(EventContext context)
allocated in interface Scheduler.TaskManagerallocated in class AbstractTaskManagerpublic void completed(EventContext context)
completed in interface Scheduler.TaskManagercompleted in class AbstractTaskManagerpublic boolean isLive(EventContext context)
isLive in interface Scheduler.TaskManagerisLive in class AbstractTaskManagerCopyright © 2021 The Apache Software Foundation. All rights reserved.