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
-
Method Summary
Modifier and TypeMethodDescriptionvoid
cancel
(EventContext context) Cluster manager wishes to cancel this task.void
completionAck
(EventContext context) The monitoring plugin has detected that the task has confirmed that it has started shutdown.void
containerCompleted
(EventContext context, org.apache.hadoop.yarn.api.records.ContainerStatus status) Normal KILLING --> WAIT_END_ACK | END transition.void
startAck
(EventContext context) The monitoring plugin has detected that the task has confirmed that it is fully started.void
stopTaskFailed
(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:
containerCompleted
in classTaskState
- Parameters:
status
-
-
cancel
Description copied from class:TaskState
Cluster manager wishes to cancel this task. -
startAck
Description copied from class:TaskState
The monitoring plugin has detected that the task has confirmed that it is fully started. -
completionAck
Description copied from class:TaskState
The monitoring plugin has detected that the task has confirmed that it has started shutdown.- Overrides:
completionAck
in classTaskState
-
stopTaskFailed
Description copied from class:TaskState
The node manager request to stop a task failed.- Overrides:
stopTaskFailed
in classTaskState
-