| Modifier and Type | Method and Description |
|---|---|
ExecutionState |
VertexEvent.getCurrentExecutionState()
Returns the current execution state of the subtask this event
belongs to.
|
ExecutionState |
ExecutionStateChangeEvent.getNewExecutionState()
Returns the new execution state of the vertex this event refers to.
|
| Constructor and Description |
|---|
ExecutionStateChangeEvent(long timestamp,
JobVertexID vertexId,
int subtask,
ExecutionAttemptID executionAttemptId,
ExecutionState newExecutionState)
Constructs a new vertex event object.
|
VertexEvent(long timestamp,
JobVertexID jobVertexID,
String jobVertexName,
int totalNumberOfSubtasks,
int indexOfSubtask,
ExecutionAttemptID executionAttemptId,
ExecutionState currentExecutionState,
String description)
Constructs a new vertex event object.
|
| Modifier and Type | Method and Description |
|---|---|
static ExecutionState |
ExecutionState.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ExecutionState[] |
ExecutionState.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
void |
ExecutionObserver.executionStateChanged(ExecutionState newExecutionState,
String optionalMessage)
Called when the execution state of the associated task has changed.
|
void |
ExecutionListener.executionStateChanged(JobID jobID,
JobVertexID vertexId,
int subtask,
ExecutionAttemptID executionId,
ExecutionState newExecutionState,
String optionalMessage) |
| Modifier and Type | Method and Description |
|---|---|
ExecutionState |
ExecutionVertex.getExecutionState() |
ExecutionState |
Execution.getState() |
| Modifier and Type | Method and Description |
|---|---|
long |
ExecutionVertex.getStateTimestamp(ExecutionState state) |
long |
Execution.getStateTimestamp(ExecutionState state) |
| Modifier and Type | Method and Description |
|---|---|
void |
EnvironmentListenerImpl.executionStateChanged(JobID jobID,
JobVertexID vertexId,
int subtaskIndex,
ExecutionAttemptID executionId,
ExecutionState newExecutionState,
String optionalMessage) |
| Modifier and Type | Method and Description |
|---|---|
ExecutionState |
Task.getExecutionState()
Returns the current execution state of the task.
|
ExecutionState |
TaskExecutionState.getExecutionState()
Returns the new execution state of the task.
|
| Modifier and Type | Method and Description |
|---|---|
void |
TaskManager.notifyExecutionStateChange(JobID jobID,
ExecutionAttemptID executionId,
ExecutionState newExecutionState,
Throwable optionalError) |
| Constructor and Description |
|---|
TaskExecutionState(JobID jobID,
ExecutionAttemptID executionId,
ExecutionState executionState) |
TaskExecutionState(JobID jobID,
ExecutionAttemptID executionId,
ExecutionState executionState,
Throwable error)
Creates a new task execution state.
|
Copyright © 2015 The Apache Software Foundation. All rights reserved.