Uses of Class
org.apache.drill.yarn.appMaster.Task
Package
Description
Implements the Drill Application Master for YARN.
Interface between the Application Master and ZooKeeper.
-
Uses of Task in org.apache.drill.yarn.appMaster
Modifier and TypeFieldDescriptionSchedulerStateImpl.activeContainers
Tracks running tasks: those that have been allocated containers and are starting, running, failed or ended.SchedulerStateImpl.allocatingTasks
Tracks the tasks for which containers have been requested.SchedulerStateImpl.pendingTasks
Tracks the tasks to be started, but for which no work has yet been done.Modifier and TypeMethodDescriptionTask.copy()
SchedulerStateActions.getTask
(int id) SchedulerStateImpl.getTask
(int id) Modifier and TypeMethodDescriptionSchedulerState.getActiveTasks()
Returns the list of active tasks that have not yet been cancelled.SchedulerStateImpl.getActiveTasks()
ClusterControllerImpl.getHistory()
SchedulerState.getStartingTasks()
Returns the list of tasks awaiting a container request to be sent to YARN or for which a container request has been sent to YARN, but no container allocation has yet been received.SchedulerStateImpl.getStartingTasks()
Modifier and TypeMethodDescriptionvoid
void
void
void
void
Indicate that a task is completed.void
void
ClusterControllerImpl.completionAck
(Task task, String propertyKey) void
RegistryHandler.completionAck
(Task task, String endpointProperty) void
ClusterControllerImpl.containerAllocated
(Task task) void
SchedulerStateImpl.containerAllocated
(Task task) Mark that a task has become active and should be tracked by its container ID.void
ClusterControllerImpl.containerReleased
(Task task) void
SchedulerStateImpl.containerReleased
(Task task) Mark that a task has completed: its container has expired or been revoked or the task has completed: successfully or a failure, as given by the task's disposition.void
SchedulerStateImpl.dequeueAllocatingTask
(Task task) Remove a task from the list of those waiting for a container allocation.void
SchedulerStateImpl.dequeuePendingRequest
(Task task) Remove a task from the queue of tasks waiting to send a container request.void
SchedulerStateImpl.enqueueAllocatingTask
(Task task) Put a task onto the queue awaiting an allocation response from YARN.void
SchedulerStateImpl.enqueuePendingRequest
(Task task) Put a task into the queue waiting to send a container request to YARN.AbstractTaskManager.getLaunchSpec
(Task task) Scheduler.TaskManager.getLaunchSpec
(Task task) boolean
SchedulerStateImpl.requestStop
(Task task) Request a graceful stop of the task.void
void
Start the given task.void
Define a new task in this group.void
void
boolean
boolean
void
void
Mark that a task has completed successfully or a failure, as given by the task's disposition.void
ClusterControllerImpl.taskRetried
(Task task) void
SchedulerStateImpl.taskRetried
(Task task) Mark that a task is about to be retried.void
ModifierConstructorDescriptionEventContext
(ClusterControllerImpl controller, Task task) EventContext
(Task task) For testing only, omits the controller and YARN. -
Uses of Task in org.apache.drill.yarn.appMaster.http
-
Uses of Task in org.apache.drill.yarn.zk
Modifier and TypeFieldDescriptionprotected Task
ZKRegistry.DrillbitTracker.task
For Drillbits started by the AM, the task object for this Drillbit.Modifier and TypeMethodDescriptionboolean
ZKRegistry.isRegistered
(Task task) Report whether the given task is still registered in ZK.ModifierConstructorDescriptionAckEvent
(Task task, CoordinationProtos.DrillbitEndpoint endpoint) DrillbitTracker
(String key, Task task)