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, stop
public int maxConcurrentAllocs()
maxConcurrentAllocs
in interface Scheduler.TaskManager
maxConcurrentAllocs
in class AbstractTaskManager
public void allocated(EventContext context)
allocated
in interface Scheduler.TaskManager
allocated
in class AbstractTaskManager
public void completed(EventContext context)
completed
in interface Scheduler.TaskManager
completed
in class AbstractTaskManager
public boolean isLive(EventContext context)
isLive
in interface Scheduler.TaskManager
isLive
in class AbstractTaskManager
Copyright © 1970 The Apache Software Foundation. All rights reserved.