Uses of Class
org.apache.drill.yarn.appMaster.EventContext
Packages that use EventContext
Package
Description
Implements the Drill Application Master for YARN.
Interface between the Application Master and ZooKeeper.
-
Uses of EventContext in org.apache.drill.yarn.appMaster
Methods in org.apache.drill.yarn.appMaster with parameters of type EventContextModifier and TypeMethodDescriptionvoidAbstractDrillbitScheduler.DrillbitManager.allocated(EventContext context) voidAbstractTaskManager.allocated(EventContext context) voidScheduler.TaskManager.allocated(EventContext context) voidTaskState.cancel(EventContext context) Cluster manager wishes to cancel this task.voidTaskState.EndingState.cancel(EventContext context) voidTaskState.KillingState.cancel(EventContext context) voidSchedulerStateActions.checkTasks(EventContext context, long curTime) voidSchedulerStateImpl.checkTasks(EventContext context, long curTime) voidAbstractDrillbitScheduler.DrillbitManager.completed(EventContext context) voidAbstractTaskManager.completed(EventContext context) voidScheduler.TaskManager.completed(EventContext context) protected voidTaskState.completed(EventContext context, org.apache.hadoop.yarn.api.records.ContainerStatus status) voidTaskState.completionAck(EventContext context) The monitoring plugin has detected that the task has confirmed that it has started shutdown.voidTaskState.EndingState.completionAck(EventContext context) voidTaskState.KillingState.completionAck(EventContext context) voidSchedulerStateActions.containerAllocated(EventContext context, org.apache.hadoop.yarn.api.records.Container container) A container request has been granted.voidSchedulerStateImpl.containerAllocated(EventContext context, org.apache.hadoop.yarn.api.records.Container container) voidTaskState.containerAllocated(EventContext context, org.apache.hadoop.yarn.api.records.Container container) Resource Manager reports that the task has been allocated a container.voidTaskState.containerCompleted(EventContext context, org.apache.hadoop.yarn.api.records.ContainerStatus status) Resource Manager reports that the task has completed execution and provided the completion status.voidTaskState.EndingState.containerCompleted(EventContext context, org.apache.hadoop.yarn.api.records.ContainerStatus status) Normal ENDING --> WAIT_END_ACK | END transition.voidTaskState.KillingState.containerCompleted(EventContext context, org.apache.hadoop.yarn.api.records.ContainerStatus status) Normal KILLING --> WAIT_END_ACK | END transition.voidTaskState.containerStarted(EventContext context) Node Manager reports that the task has started execution.voidTaskState.containerStopped(EventContext context) Node Manager reports that the task has stopped execution.protected voidTaskState.endOrAck(EventContext context) voidClusterControllerImpl.fireLifecycleChange(TaskLifecycleListener.Event event, EventContext context) booleanAbstractDrillbitScheduler.DrillbitManager.isLive(EventContext context) booleanAbstractTaskManager.isLive(EventContext context) booleanScheduler.TaskManager.isLive(EventContext context) voidTaskState.launchFailed(EventContext context, Throwable t) The launch of the container failed.voidTaskState.requestContainer(EventContext context) booleanSchedulerStateActions.requestContainers(EventContext context, int maxRequests) Request a container the first task that we wish to start.booleanSchedulerStateImpl.requestContainers(EventContext context, int maxRequests) voidSchedulerStateActions.shutDown(EventContext context) Shut down this task group by canceling all tasks not already cancelled.voidSchedulerStateImpl.shutDown(EventContext context) voidTaskState.KillingState.startAck(EventContext context) voidTaskState.startAck(EventContext context) The monitoring plugin has detected that the task has confirmed that it is fully started.voidTaskLifecycleListener.stateChange(TaskLifecycleListener.Event event, EventContext context) voidTaskState.KillingState.stopTaskFailed(EventContext context, Throwable t) voidTaskState.stopTaskFailed(EventContext context, Throwable t) The node manager request to stop a task failed.protected voidTaskState.taskStartFailed(EventContext context, Task.Disposition disposition) Task failed when starting.protected voidTaskState.taskTerminated(EventContext context) A running task terminated.voidTaskState.EndingState.tick(EventContext context, long curTime) If the graceful stop process exceeds the maximum timeout, go ahead and forcibly kill the process.voidTaskState.tick(EventContext context, long curTime) protected voidTaskState.transition(EventContext context, TaskState newState) Implement a state transition, alerting any life cycle listeners and updating the log file. -
Uses of EventContext in org.apache.drill.yarn.zk
Methods in org.apache.drill.yarn.zk with parameters of type EventContextModifier and TypeMethodDescriptionvoidZKRegistry.stateChange(TaskLifecycleListener.Event event, EventContext context) Listen for selected YARN task state changes.