public class DefaultExecutionGraphFactory extends Object implements ExecutionGraphFactory
ExecutionGraphFactory implementation.| Constructor and Description |
|---|
DefaultExecutionGraphFactory(org.apache.flink.configuration.Configuration configuration,
ClassLoader userCodeClassLoader,
ExecutionDeploymentTracker executionDeploymentTracker,
ScheduledExecutorService futureExecutor,
Executor ioExecutor,
org.apache.flink.api.common.time.Time rpcTimeout,
JobManagerJobMetricGroup jobManagerJobMetricGroup,
BlobWriter blobWriter,
ShuffleMaster<?> shuffleMaster,
JobMasterPartitionTracker jobMasterPartitionTracker) |
| Modifier and Type | Method and Description |
|---|---|
ExecutionGraph |
createAndRestoreExecutionGraph(JobGraph jobGraph,
CompletedCheckpointStore completedCheckpointStore,
CheckpointsCleaner checkpointsCleaner,
CheckpointIDCounter checkpointIdCounter,
TaskDeploymentDescriptorFactory.PartitionLocationConstraint partitionLocationConstraint,
long initializationTimestamp,
VertexAttemptNumberStore vertexAttemptNumberStore,
VertexParallelismStore vertexParallelismStore,
org.slf4j.Logger log)
Create and restore
ExecutionGraph from the given JobGraph and services. |
public DefaultExecutionGraphFactory(org.apache.flink.configuration.Configuration configuration,
ClassLoader userCodeClassLoader,
ExecutionDeploymentTracker executionDeploymentTracker,
ScheduledExecutorService futureExecutor,
Executor ioExecutor,
org.apache.flink.api.common.time.Time rpcTimeout,
JobManagerJobMetricGroup jobManagerJobMetricGroup,
BlobWriter blobWriter,
ShuffleMaster<?> shuffleMaster,
JobMasterPartitionTracker jobMasterPartitionTracker)
public ExecutionGraph createAndRestoreExecutionGraph(JobGraph jobGraph, CompletedCheckpointStore completedCheckpointStore, CheckpointsCleaner checkpointsCleaner, CheckpointIDCounter checkpointIdCounter, TaskDeploymentDescriptorFactory.PartitionLocationConstraint partitionLocationConstraint, long initializationTimestamp, VertexAttemptNumberStore vertexAttemptNumberStore, VertexParallelismStore vertexParallelismStore, org.slf4j.Logger log) throws Exception
ExecutionGraphFactoryExecutionGraph from the given JobGraph and services.createAndRestoreExecutionGraph in interface ExecutionGraphFactoryjobGraph - jobGraph to initialize the ExecutionGraph withcompletedCheckpointStore - completedCheckpointStore to pass to the CheckpointCoordinatorcheckpointsCleaner - checkpointsCleaner to pass to the CheckpointCoordinatorcheckpointIdCounter - checkpointIdCounter to pass to the CheckpointCoordinatorpartitionLocationConstraint - partitionLocationConstraint for this jobinitializationTimestamp - initializationTimestamp when the ExecutionGraph was createdvertexAttemptNumberStore - vertexAttemptNumberStore keeping information about the vertex
attempts of previous runsvertexParallelismStore - vertexMaxParallelismStore keeping information about the vertex
max parallelism settingslog - log to use for loggingExecutionGraphException - if the ExecutionGraph could not be created and restoredCopyright © 2014–2022 The Apache Software Foundation. All rights reserved.