Uses of Class
org.apache.drill.yarn.appMaster.Task
Packages that use 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
Fields in org.apache.drill.yarn.appMaster declared as TaskFields in org.apache.drill.yarn.appMaster with type parameters of type TaskModifier and TypeFieldDescriptionSchedulerStateImpl.activeContainersTracks running tasks: those that have been allocated containers and are starting, running, failed or ended.SchedulerStateImpl.allocatingTasksTracks the tasks for which containers have been requested.SchedulerStateImpl.pendingTasksTracks the tasks to be started, but for which no work has yet been done.Methods in org.apache.drill.yarn.appMaster that return TaskModifier and TypeMethodDescriptionTask.copy()SchedulerStateActions.getTask(int id) SchedulerStateImpl.getTask(int id) Methods in org.apache.drill.yarn.appMaster that return types with arguments of type TaskModifier 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()Methods in org.apache.drill.yarn.appMaster with parameters of type TaskModifier and TypeMethodDescriptionvoidvoidvoidvoidvoidIndicate that a task is completed.voidvoidClusterControllerImpl.completionAck(Task task, String propertyKey) voidRegistryHandler.completionAck(Task task, String endpointProperty) voidClusterControllerImpl.containerAllocated(Task task) voidSchedulerStateImpl.containerAllocated(Task task) Mark that a task has become active and should be tracked by its container ID.voidClusterControllerImpl.containerReleased(Task task) voidSchedulerStateImpl.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.voidSchedulerStateImpl.dequeueAllocatingTask(Task task) Remove a task from the list of those waiting for a container allocation.voidSchedulerStateImpl.dequeuePendingRequest(Task task) Remove a task from the queue of tasks waiting to send a container request.voidSchedulerStateImpl.enqueueAllocatingTask(Task task) Put a task onto the queue awaiting an allocation response from YARN.voidSchedulerStateImpl.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) booleanSchedulerStateImpl.requestStop(Task task) Request a graceful stop of the task.voidvoidStart the given task.voidDefine a new task in this group.voidvoidbooleanbooleanvoidvoidMark that a task has completed successfully or a failure, as given by the task's disposition.voidClusterControllerImpl.taskRetried(Task task) voidSchedulerStateImpl.taskRetried(Task task) Mark that a task is about to be retried.voidConstructors in org.apache.drill.yarn.appMaster with parameters of type TaskModifierConstructorDescriptionEventContext(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
Methods in org.apache.drill.yarn.appMaster.http with parameters of type TaskConstructors in org.apache.drill.yarn.appMaster.http with parameters of type Task -
Uses of Task in org.apache.drill.yarn.zk
Fields in org.apache.drill.yarn.zk declared as TaskModifier and TypeFieldDescriptionprotected TaskZKRegistry.DrillbitTracker.taskFor Drillbits started by the AM, the task object for this Drillbit.Methods in org.apache.drill.yarn.zk with parameters of type TaskModifier and TypeMethodDescriptionbooleanZKRegistry.isRegistered(Task task) Report whether the given task is still registered in ZK.Constructors in org.apache.drill.yarn.zk with parameters of type TaskModifierConstructorDescriptionAckEvent(Task task, CoordinationProtos.DrillbitEndpoint endpoint) DrillbitTracker(String key, Task task)