public class ArchivedExecutionVertex extends Object implements AccessExecutionVertex, Serializable
ArchivedExecutionVertex is a readonly representation of ExecutionVertex.| 构造器和说明 |
|---|
ArchivedExecutionVertex(ExecutionVertex vertex) |
ArchivedExecutionVertex(int subTaskIndex,
String taskNameWithSubtask,
ArchivedExecution currentExecution,
EvictingBoundedList<ArchivedExecution> priorExecutions) |
| 限定符和类型 | 方法和说明 |
|---|---|
TaskManagerLocation |
getCurrentAssignedResourceLocation()
Returns the
TaskManagerLocation for this execution vertex. |
ArchivedExecution |
getCurrentExecutionAttempt()
Returns the current execution for this execution vertex.
|
ExecutionState |
getExecutionState()
Returns the current
ExecutionState for this execution vertex. |
Optional<ErrorInfo> |
getFailureInfo()
Returns the exception that caused the job to fail.
|
int |
getParallelSubtaskIndex()
Returns the subtask index of this execution vertex.
|
ArchivedExecution |
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)".
|
public ArchivedExecutionVertex(ExecutionVertex vertex)
public ArchivedExecutionVertex(int subTaskIndex,
String taskNameWithSubtask,
ArchivedExecution currentExecution,
EvictingBoundedList<ArchivedExecution> priorExecutions)
public String getTaskNameWithSubtaskIndex()
AccessExecutionVertexgetTaskNameWithSubtaskIndex 在接口中 AccessExecutionVertexpublic int getParallelSubtaskIndex()
AccessExecutionVertexgetParallelSubtaskIndex 在接口中 AccessExecutionVertexpublic ArchivedExecution getCurrentExecutionAttempt()
AccessExecutionVertexgetCurrentExecutionAttempt 在接口中 AccessExecutionVertexpublic ExecutionState getExecutionState()
AccessExecutionVertexExecutionState for this execution vertex.getExecutionState 在接口中 AccessExecutionVertexpublic long getStateTimestamp(ExecutionState state)
AccessExecutionVertexExecutionState.getStateTimestamp 在接口中 AccessExecutionVertexstate - state for which the timestamp should be returnedpublic Optional<ErrorInfo> getFailureInfo()
AccessExecutionVertexgetFailureInfo 在接口中 AccessExecutionVertexOptional of ErrorInfo, or an empty
Optional if no exception was caught.public TaskManagerLocation getCurrentAssignedResourceLocation()
AccessExecutionVertexTaskManagerLocation for this execution vertex.getCurrentAssignedResourceLocation 在接口中 AccessExecutionVertex@Nullable public ArchivedExecution getPriorExecutionAttempt(int attemptNumber)
AccessExecutionVertexgetPriorExecutionAttempt 在接口中 AccessExecutionVertexattemptNumber - attempt number of execution to be returnedCopyright © 2014–2022 The Apache Software Foundation. All rights reserved.