Package org.apache.drill.yarn.appMaster
Class TaskState.KillingState
java.lang.Object
org.apache.drill.yarn.appMaster.TaskState
org.apache.drill.yarn.appMaster.TaskState.KillingState
- Enclosing class:
TaskState
Task for which a forced termination request has been sent to the Node
Manager, but a stop message has not yet been received.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.drill.yarn.appMaster.TaskState
TaskState.EndingState, TaskState.KillingState -
Field Summary
Fields inherited from class org.apache.drill.yarn.appMaster.TaskState
cancellable, END, ENDING, hasContainer, KILLING, label, LAUNCHING, lifeCycleEvent, REQUESTING, RUNNING, START, WAIT_END_ACK, WAIT_START_ACK -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcancel(EventContext context) Cluster manager wishes to cancel this task.voidcompletionAck(EventContext context) The monitoring plugin has detected that the task has confirmed that it has started shutdown.voidcontainerCompleted(EventContext context, org.apache.hadoop.yarn.api.records.ContainerStatus status) Normal KILLING --> WAIT_END_ACK | END transition.voidstartAck(EventContext context) The monitoring plugin has detected that the task has confirmed that it is fully started.voidstopTaskFailed(EventContext context, Throwable t) The node manager request to stop a task failed.Methods inherited from class org.apache.drill.yarn.appMaster.TaskState
completed, containerAllocated, containerStarted, containerStopped, endOrAck, getLabel, hasContainer, isCancellable, launchFailed, requestContainer, taskStartFailed, taskTerminated, tick, toString, transition
-
Constructor Details
-
KillingState
protected KillingState()
-
-
Method Details
-
containerCompleted
public void containerCompleted(EventContext context, org.apache.hadoop.yarn.api.records.ContainerStatus status) Normal KILLING --> WAIT_END_ACK | END transition.- Overrides:
containerCompletedin classTaskState- Parameters:
context-status-
-
cancel
Description copied from class:TaskStateCluster manager wishes to cancel this task. -
startAck
Description copied from class:TaskStateThe monitoring plugin has detected that the task has confirmed that it is fully started. -
completionAck
Description copied from class:TaskStateThe monitoring plugin has detected that the task has confirmed that it has started shutdown.- Overrides:
completionAckin classTaskState
-
stopTaskFailed
Description copied from class:TaskStateThe node manager request to stop a task failed.- Overrides:
stopTaskFailedin classTaskState- Parameters:
context-t-
-