public interface AccessExecutionVertex
ExecutionVertex
and ArchivedExecutionVertex
.Modifier and Type | Method and Description |
---|---|
TaskManagerLocation |
getCurrentAssignedResourceLocation()
Returns the
TaskManagerLocation for this execution vertex. |
AccessExecution |
getCurrentExecutionAttempt()
Returns the current execution for this execution vertex.
|
ExecutionState |
getExecutionState()
Returns the current
ExecutionState for this execution vertex. |
String |
getFailureCauseAsString()
Returns the exception that caused the job to fail.
|
int |
getParallelSubtaskIndex()
Returns the subtask index of this execution vertex.
|
AccessExecution |
getPriorExecutionAttempt(int attemptNumber)
Returns the execution for the given attempt number.
|
long |
getStateTimestamp(ExecutionState state)
Returns the timestamp for the given
ExecutionState . |
String |
getTaskNameWithSubtaskIndex()
Returns the name of this execution vertex in the format "myTask (2/7)".
|
String getTaskNameWithSubtaskIndex()
int getParallelSubtaskIndex()
AccessExecution getCurrentExecutionAttempt()
ExecutionState getExecutionState()
ExecutionState
for this execution vertex.long getStateTimestamp(ExecutionState state)
ExecutionState
.state
- state for which the timestamp should be returnedString getFailureCauseAsString()
"(null)"
TaskManagerLocation getCurrentAssignedResourceLocation()
TaskManagerLocation
for this execution vertex.@Nullable AccessExecution getPriorExecutionAttempt(int attemptNumber)
attemptNumber
- attempt number of execution to be returnedCopyright © 2014–2021 The Apache Software Foundation. All rights reserved.