TaskState.EndingState, TaskState.KillingStatecancellable, END, ENDING, hasContainer, KILLING, label, LAUNCHING, lifeCycleEvent, REQUESTING, RUNNING, START, WAIT_END_ACK, WAIT_START_ACK| Modifier | Constructor and Description |
|---|---|
protected |
EndingState() |
| Modifier and Type | Method and Description |
|---|---|
void |
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 ENDING --> WAIT_END_ACK | END transition.
|
void |
tick(EventContext context,
long curTime)
If the graceful stop process exceeds the maximum timeout, go ahead and
forcibly kill the process.
|
completed, containerAllocated, containerStarted, containerStopped, endOrAck, getLabel, hasContainer, isCancellable, launchFailed, requestContainer, startAck, stopTaskFailed, taskStartFailed, taskTerminated, toString, transitionpublic void containerCompleted(EventContext context, org.apache.hadoop.yarn.api.records.ContainerStatus status)
containerCompleted in class TaskStatestatus - public void cancel(EventContext context)
TaskStatepublic void tick(EventContext context, long curTime)
public void completionAck(EventContext context)
TaskStatecompletionAck in class TaskStateCopyright © 2021 The Apache Software Foundation. All rights reserved.