public interface AccessExecutionGraph
ExecutionGraph
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. |
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. |
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. |
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.
|
boolean |
isArchived()
Returns whether this execution graph was archived.
|
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.@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
.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()
boolean isArchived()
Copyright © 2014–2019 The Apache Software Foundation. All rights reserved.