public interface AccessExecution
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.
|
String |
getFailureCauseAsString()
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 |
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
.ExecutionState getState()
ExecutionState
for this execution.TaskManagerLocation getAssignedResourceLocation()
TaskManagerLocation
for this execution.String getFailureCauseAsString()
"(null)"
long getStateTimestamp(ExecutionState state)
ExecutionState
.state
- state for which the timestamp should be returnedStringifiedAccumulatorResult[] getUserAccumulatorsStringified()
int getParallelSubtaskIndex()
IOMetrics getIOMetrics()
Copyright © 2014–2019 The Apache Software Foundation. All rights reserved.