| Package | Description |
|---|---|
| org.apache.flink.runtime.executiongraph | |
| org.apache.flink.runtime.executiongraph.restart |
| Modifier and Type | Method and Description |
|---|---|
RestartStrategy |
ExecutionGraph.getRestartStrategy() |
| Modifier and Type | Method and Description |
|---|---|
static ExecutionGraph |
ExecutionGraphBuilder.buildGraph(ExecutionGraph prior,
JobGraph jobGraph,
org.apache.flink.configuration.Configuration jobManagerConfig,
ScheduledExecutorService futureExecutor,
Executor ioExecutor,
SlotProvider slotProvider,
ClassLoader classLoader,
CheckpointRecoveryFactory recoveryFactory,
org.apache.flink.api.common.time.Time rpcTimeout,
RestartStrategy restartStrategy,
org.apache.flink.metrics.MetricGroup metrics,
BlobWriter blobWriter,
org.apache.flink.api.common.time.Time allocationTimeout,
org.slf4j.Logger log,
ShuffleMaster<?> shuffleMaster,
JobMasterPartitionTracker partitionTracker)
Builds the ExecutionGraph from the JobGraph.
|
static ExecutionGraph |
ExecutionGraphBuilder.buildGraph(ExecutionGraph prior,
JobGraph jobGraph,
org.apache.flink.configuration.Configuration jobManagerConfig,
ScheduledExecutorService futureExecutor,
Executor ioExecutor,
SlotProvider slotProvider,
ClassLoader classLoader,
CheckpointRecoveryFactory recoveryFactory,
org.apache.flink.api.common.time.Time rpcTimeout,
RestartStrategy restartStrategy,
org.apache.flink.metrics.MetricGroup metrics,
BlobWriter blobWriter,
org.apache.flink.api.common.time.Time allocationTimeout,
org.slf4j.Logger log,
ShuffleMaster<?> shuffleMaster,
JobMasterPartitionTracker partitionTracker,
FailoverStrategy.Factory failoverStrategyFactory) |
| Constructor and Description |
|---|
ExecutionGraph(JobInformation jobInformation,
ScheduledExecutorService futureExecutor,
Executor ioExecutor,
org.apache.flink.api.common.time.Time rpcTimeout,
RestartStrategy restartStrategy,
int maxPriorAttemptsHistoryLength,
FailoverStrategy.Factory failoverStrategyFactory,
SlotProvider slotProvider,
ClassLoader userClassLoader,
BlobWriter blobWriter,
org.apache.flink.api.common.time.Time allocationTimeout,
PartitionReleaseStrategy.Factory partitionReleaseStrategyFactory,
ShuffleMaster<?> shuffleMaster,
JobMasterPartitionTracker partitionTracker,
ScheduleMode scheduleMode) |
| Modifier and Type | Class and Description |
|---|---|
class |
FailureRateRestartStrategy
Restart strategy which tries to restart the given
ExecutionGraph when failure rate exceeded
with a fixed time delay in between. |
class |
FixedDelayRestartStrategy
Restart strategy which tries to restart the given
ExecutionGraph a fixed number of times
with a fixed time delay in between. |
class |
NoRestartStrategy
Restart strategy which does not restart an
ExecutionGraph. |
class |
ThrowingRestartStrategy
A restart strategy that validates that it is not in use by throwing
IllegalStateException
on any method call. |
| Modifier and Type | Method and Description |
|---|---|
RestartStrategy |
FailureRateRestartStrategy.FailureRateRestartStrategyFactory.createRestartStrategy() |
RestartStrategy |
NoOrFixedIfCheckpointingEnabledRestartStrategyFactory.createRestartStrategy() |
RestartStrategy |
NoRestartStrategy.NoRestartStrategyFactory.createRestartStrategy() |
RestartStrategy |
ThrowingRestartStrategy.ThrowingRestartStrategyFactory.createRestartStrategy() |
abstract RestartStrategy |
RestartStrategyFactory.createRestartStrategy()
Factory method to create a restart strategy.
|
RestartStrategy |
FixedDelayRestartStrategy.FixedDelayRestartStrategyFactory.createRestartStrategy() |
static RestartStrategy |
RestartStrategyFactory.createRestartStrategy(org.apache.flink.api.common.restartstrategy.RestartStrategies.RestartStrategyConfiguration restartStrategyConfiguration)
Creates a
RestartStrategy instance from the given RestartStrategies.RestartStrategyConfiguration. |
static RestartStrategy |
RestartStrategyResolving.resolve(org.apache.flink.api.common.restartstrategy.RestartStrategies.RestartStrategyConfiguration clientConfiguration,
RestartStrategyFactory serverStrategyFactory,
boolean isCheckpointingEnabled)
Resolves which
RestartStrategy to use. |
Copyright © 2014–2020 The Apache Software Foundation. All rights reserved.