TaskState.EndingState, TaskState.KillingState
cancellable, END, ENDING, hasContainer, KILLING, label, LAUNCHING, lifeCycleEvent, REQUESTING, RUNNING, START, WAIT_END_ACK, WAIT_START_ACK
Modifier | Constructor and Description |
---|---|
protected |
KillingState() |
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 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.
|
completed, containerAllocated, containerStarted, containerStopped, endOrAck, getLabel, hasContainer, isCancellable, launchFailed, requestContainer, taskStartFailed, taskTerminated, tick, toString, transition
public void containerCompleted(EventContext context, org.apache.hadoop.yarn.api.records.ContainerStatus status)
containerCompleted
in class TaskState
status
- public void cancel(EventContext context)
TaskState
public void startAck(EventContext context)
TaskState
public void completionAck(EventContext context)
TaskState
completionAck
in class TaskState
public void stopTaskFailed(EventContext context, Throwable t)
TaskState
stopTaskFailed
in class TaskState
Copyright © 1970 The Apache Software Foundation. All rights reserved.