public interface AccessExecutionGraph extends JobStatusProvider
DefaultExecutionGraph
and ArchivedExecutionGraph
.Modifier and Type | Method and Description |
---|---|
StringifiedAccumulatorResult[] |
getAccumulatorResultsStringified()
Returns the aggregated user-defined accumulators as strings.
|
Map<String,SerializedValue<OptionalFailure<Object>>> |
getAccumulatorsSerialized()
Returns a map containing the serialized values of user-defined accumulators.
|
Iterable<? extends AccessExecutionVertex> |
getAllExecutionVertices()
Returns an iterable containing all execution vertices for this execution graph.
|
Map<JobVertexID,? extends AccessExecutionJobVertex> |
getAllVertices()
Returns a map containing all job vertices for this execution graph.
|
ArchivedExecutionConfig |
getArchivedExecutionConfig()
Returns the
ArchivedExecutionConfig for this execution graph. |
Optional<String> |
getChangelogStorageName()
Returns the changelog storage name for this ExecutionGraph.
|
CheckpointCoordinatorConfiguration |
getCheckpointCoordinatorConfiguration()
Returns the
CheckpointCoordinatorConfiguration or null if checkpointing
is disabled. |
CheckpointStatsSnapshot |
getCheckpointStatsSnapshot()
Returns a snapshot of the checkpoint statistics or
null if checkpointing is
disabled. |
Optional<String> |
getCheckpointStorageName()
Returns the checkpoint storage name for this ExecutionGraph.
|
ErrorInfo |
getFailureInfo()
Returns the exception that caused the job to fail.
|
JobID |
getJobID()
Returns the
JobID for this execution graph. |
String |
getJobName()
Returns the job name for the execution graph.
|
AccessExecutionJobVertex |
getJobVertex(JobVertexID id)
Returns the job vertex for the given
JobVertexID . |
String |
getJsonPlan()
Returns the job plan as a JSON string.
|
JobStatus |
getState()
Returns the current
JobStatus for this execution graph. |
Optional<String> |
getStateBackendName()
Returns the state backend name for this ExecutionGraph.
|
long |
getStatusTimestamp(JobStatus status)
Returns the timestamp for the given
JobStatus . |
Iterable<? extends AccessExecutionJobVertex> |
getVerticesTopologically()
Returns an iterable containing all job vertices for this execution graph in the order they
were created.
|
TernaryBoolean |
isChangelogStateBackendEnabled()
Returns whether the state changelog is enabled for this ExecutionGraph.
|
boolean |
isStoppable()
Returns whether the job for this execution graph is stoppable.
|
String getJsonPlan()
JobID getJobID()
JobID
for this execution graph.String getJobName()
JobStatus getState()
JobStatus
for this execution graph.getState
in interface JobStatusProvider
@Nullable ErrorInfo getFailureInfo()
@Nullable AccessExecutionJobVertex getJobVertex(JobVertexID id)
JobVertexID
.id
- id of job vertex to be returnednull
Map<JobVertexID,? extends AccessExecutionJobVertex> getAllVertices()
Iterable<? extends AccessExecutionJobVertex> getVerticesTopologically()
Iterable<? extends AccessExecutionVertex> getAllExecutionVertices()
long getStatusTimestamp(JobStatus status)
JobStatus
.getStatusTimestamp
in interface JobStatusProvider
status
- status for which the timestamp should be returned@Nullable CheckpointCoordinatorConfiguration getCheckpointCoordinatorConfiguration()
CheckpointCoordinatorConfiguration
or null
if checkpointing
is disabled.@Nullable CheckpointStatsSnapshot getCheckpointStatsSnapshot()
null
if checkpointing is
disabled.@Nullable ArchivedExecutionConfig getArchivedExecutionConfig()
ArchivedExecutionConfig
for this execution graph.boolean isStoppable()
StringifiedAccumulatorResult[] getAccumulatorResultsStringified()
Map<String,SerializedValue<OptionalFailure<Object>>> getAccumulatorsSerialized()
Optional<String> getStateBackendName()
Optional<String> getCheckpointStorageName()
TernaryBoolean isChangelogStateBackendEnabled()
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.