| 限定符和类型 | 方法和说明 |
|---|---|
Collection<ExecutionJobVertex> |
DefaultCheckpointPlan.getFullyFinishedJobVertex() |
Collection<ExecutionJobVertex> |
CheckpointPlan.getFullyFinishedJobVertex()
Returns the job vertices whose tasks are all finished when taking the checkpoint.
|
| 限定符和类型 | 方法和说明 |
|---|---|
static CompletedCheckpoint |
Checkpoints.loadAndValidateCheckpoint(org.apache.flink.api.common.JobID jobId,
Map<JobVertexID,ExecutionJobVertex> tasks,
CompletedCheckpointStorageLocation location,
ClassLoader classLoader,
boolean allowNonRestoredState,
CheckpointProperties checkpointProperties,
RestoreMode restoreMode) |
boolean |
CheckpointCoordinator.restoreInitialCheckpointIfPresent(Set<ExecutionJobVertex> tasks)
Restores the latest checkpointed at the beginning of the job execution.
|
boolean |
CheckpointCoordinator.restoreLatestCheckpointedStateToAll(Set<ExecutionJobVertex> tasks,
boolean allowNonRestoredState)
Restores the latest checkpointed state to all tasks and all coordinators.
|
OptionalLong |
CheckpointCoordinator.restoreLatestCheckpointedStateToSubtasks(Set<ExecutionJobVertex> tasks)
Restores the latest checkpointed state to a set of subtasks.
|
boolean |
CheckpointCoordinator.restoreSavepoint(SavepointRestoreSettings restoreSettings,
Map<JobVertexID,ExecutionJobVertex> tasks,
ClassLoader userClassLoader)
Restore the state with given savepoint.
|
| 构造器和说明 |
|---|
CheckpointCoordinator(org.apache.flink.api.common.JobID job,
CheckpointCoordinatorConfiguration chkConfig,
Collection<OperatorCoordinatorCheckpointContext> coordinatorsToCheckpoint,
CheckpointIDCounter checkpointIDCounter,
CompletedCheckpointStore completedCheckpointStore,
CheckpointStorage checkpointStorage,
Executor executor,
CheckpointsCleaner checkpointsCleaner,
org.apache.flink.util.concurrent.ScheduledExecutor timer,
CheckpointFailureManager failureManager,
CheckpointPlanCalculator checkpointPlanCalculator,
ExecutionAttemptMappingProvider attemptMappingProvider,
org.apache.flink.util.clock.Clock clock,
CheckpointStatsTracker statsTracker,
java.util.function.BiFunction<Set<ExecutionJobVertex>,Map<OperatorID,OperatorState>,VertexFinishedStateChecker> vertexFinishedStateCheckerFactory) |
DefaultCheckpointPlanCalculator(org.apache.flink.api.common.JobID jobId,
CheckpointPlanCalculatorContext context,
Iterable<ExecutionJobVertex> jobVerticesInTopologyOrderIterable,
boolean allowCheckpointsAfterTasksFinished) |
StateAssignmentOperation(long restoreCheckpointId,
Set<ExecutionJobVertex> tasks,
Map<OperatorID,OperatorState> operatorStates,
boolean allowNonRestoredState) |
VertexFinishedStateChecker(Set<ExecutionJobVertex> vertices,
Map<OperatorID,OperatorState> operatorStates) |
| 限定符和类型 | 方法和说明 |
|---|---|
ExecutionJobVertex |
ExecutionVertex.getJobVertex() |
ExecutionJobVertex |
DefaultExecutionGraph.getJobVertex(JobVertexID id) |
ExecutionJobVertex |
ExecutionGraph.getJobVertex(JobVertexID id) |
ExecutionJobVertex |
InternalExecutionGraphAccessor.getJobVertex(JobVertexID id) |
ExecutionJobVertex |
IntermediateResult.getProducer() |
| 限定符和类型 | 方法和说明 |
|---|---|
Map<JobVertexID,ExecutionJobVertex> |
DefaultExecutionGraph.getAllVertices() |
Map<JobVertexID,ExecutionJobVertex> |
ExecutionGraph.getAllVertices() |
Iterable<ExecutionJobVertex> |
DefaultExecutionGraph.getVerticesTopologically() |
Iterable<ExecutionJobVertex> |
ExecutionGraph.getVerticesTopologically() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
DefaultExecutionGraph.initializeJobVertex(ExecutionJobVertex ejv,
long createTimestamp) |
void |
ExecutionGraph.initializeJobVertex(ExecutionJobVertex ejv,
long createTimestamp)
Initialize the given execution job vertex, mainly includes creating execution vertices
according to the parallelism, and connecting to the predecessors.
|
| 限定符和类型 | 方法和说明 |
|---|---|
void |
DefaultExecutionGraph.notifyNewlyInitializedJobVertices(List<ExecutionJobVertex> vertices) |
void |
ExecutionGraph.notifyNewlyInitializedJobVertices(List<ExecutionJobVertex> vertices)
Notify that some job vertices have been newly initialized, execution graph will try to update
scheduling topology.
|
| 构造器和说明 |
|---|
ArchivedExecutionJobVertex(ExecutionJobVertex jobVertex) |
ExecutionVertex(ExecutionJobVertex jobVertex,
int subTaskIndex,
IntermediateResult[] producedDataSets,
org.apache.flink.api.common.time.Time timeout,
long createTimestamp,
int maxPriorExecutionHistoryLength,
int initialAttemptCount)
Creates an ExecutionVertex.
|
IntermediateResult(IntermediateDataSet intermediateDataSet,
ExecutionJobVertex producer,
int numParallelProducers,
ResultPartitionType resultType) |
| 限定符和类型 | 方法和说明 |
|---|---|
static OperatorCoordinatorHolder |
OperatorCoordinatorHolder.create(org.apache.flink.util.SerializedValue<OperatorCoordinator.Provider> serializedProvider,
ExecutionJobVertex jobVertex,
ClassLoader classLoader,
CoordinatorStore coordinatorStore) |
| 构造器和说明 |
|---|
KvStateLocationRegistry(org.apache.flink.api.common.JobID jobId,
Map<JobVertexID,ExecutionJobVertex> jobVertices)
Creates the registry for the job.
|
| 限定符和类型 | 方法和说明 |
|---|---|
ExecutionJobVertex |
SchedulerBase.getExecutionJobVertex(JobVertexID jobVertexId) |
| 限定符和类型 | 方法和说明 |
|---|---|
static void |
SsgNetworkMemoryCalculationUtils.enrichNetworkMemory(SlotSharingGroup ssg,
java.util.function.Function<JobVertexID,ExecutionJobVertex> ejvs,
ShuffleMaster<?> shuffleMaster)
Calculates network memory requirement of
ExecutionJobVertex and update ResourceProfile of corresponding slot sharing group. |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
DefaultExecutionTopology.notifyExecutionGraphUpdated(DefaultExecutionGraph executionGraph,
List<ExecutionJobVertex> newlyInitializedJobVertices) |
| 限定符和类型 | 方法和说明 |
|---|---|
static Map<JobVertexID,ForwardGroup> |
ForwardGroupComputeUtil.computeForwardGroups(Iterable<JobVertex> topologicallySortedVertices,
java.util.function.Function<JobVertexID,ExecutionJobVertex> executionJobVertexRetriever) |
| 构造器和说明 |
|---|
ForwardGroup(Set<ExecutionJobVertex> jobVertices) |
Copyright © 2014–2022 The Apache Software Foundation. All rights reserved.