public interface AccessExecution
Execution
and ArchivedExecution
.Modifier and Type | Method and Description |
---|---|
TaskManagerLocation |
getAssignedResourceLocation()
Returns the
TaskManagerLocation for this execution. |
ExecutionAttemptID |
getAttemptId()
Returns the
ExecutionAttemptID for this Execution. |
int |
getAttemptNumber()
Returns the attempt number for this execution.
|
Optional<ErrorInfo> |
getFailureInfo()
Returns the exception that caused the job to fail.
|
IOMetrics |
getIOMetrics() |
int |
getParallelSubtaskIndex()
Returns the subtask index of this execution.
|
ExecutionState |
getState()
Returns the current
ExecutionState for this execution. |
long |
getStateEndTimestamp(ExecutionState state)
Returns the end timestamp for the given
ExecutionState . |
long[] |
getStateEndTimestamps()
Returns the end timestamps for every
ExecutionState . |
long |
getStateTimestamp(ExecutionState state)
Returns the timestamp for the given
ExecutionState . |
long[] |
getStateTimestamps()
Returns the timestamps for every
ExecutionState . |
StringifiedAccumulatorResult[] |
getUserAccumulatorsStringified()
Returns the user-defined accumulators as strings.
|
ExecutionAttemptID getAttemptId()
ExecutionAttemptID
for this Execution.int getAttemptNumber()
long[] getStateTimestamps()
ExecutionState
.long[] getStateEndTimestamps()
ExecutionState
.ExecutionState getState()
ExecutionState
for this execution.TaskManagerLocation getAssignedResourceLocation()
TaskManagerLocation
for this execution.Optional<ErrorInfo> getFailureInfo()
Optional
of ErrorInfo
containing the Throwable
and the
time it was registered if an error occurred. If no error occurred an empty Optional
will be returned.long getStateTimestamp(ExecutionState state)
ExecutionState
.state
- state for which the timestamp should be returnedlong getStateEndTimestamp(ExecutionState state)
ExecutionState
.state
- state for which the timestamp should be returnedStringifiedAccumulatorResult[] getUserAccumulatorsStringified()
int getParallelSubtaskIndex()
IOMetrics getIOMetrics()
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.