Package org.apache.flink.runtime.scheduler.adaptive
-
Interface Summary Interface Description LabeledGlobalFailureHandler An interface for handling and associating global failures with labels fromFailureEnricher
.StateFactory<T extends org.apache.flink.runtime.scheduler.adaptive.State> Factory for creating adaptive scheduler state instances.StateTransitionManager TheStateTransitionManager
decides on whetherAdaptiveScheduler
state transition should happen or not.StateTransitionManager.Context The interface that can be used by theStateTransitionManager
to communicate with the underlying system.StateTransitions An interface covering all possibleState
transitions.StateTransitions.ToCancelling Interface covering transition to theCanceling
state.StateTransitions.ToCreatingExecutionGraph Interface covering transition to theCreatingExecutionGraph
state.StateTransitions.ToExecuting Interface covering transition to theExecuting
state.StateTransitions.ToFailing Interface covering transition to theFailing
state.StateTransitions.ToFinished Interface covering transition to theFinished
state.StateTransitions.ToRestarting Interface covering transition to theRestarting
state.StateTransitions.ToStopWithSavepoint Interface covering transition to theStopWithSavepoint
state.StateTransitions.ToWaitingForResources Interface covering transition to theWaitingForResources
state. -
Class Summary Class Description AdaptiveScheduler ASchedulerNG
implementation that uses the declarative resource management and automatically adapts the parallelism in case not enough resource could be acquired to run at the configured parallelism, as described in FLIP-160.AdaptiveScheduler.Settings Consolidated settings for the adaptive scheduler.AdaptiveSchedulerFactory Factory for the adaptive scheduler.CreatingExecutionGraph State which waits for the creation of theExecutionGraph
.DefaultStateTransitionManager DefaultStateTransitionManager
is a state machine which manages theAdaptiveScheduler
's state transitions based on the previous transition time and the available resources.FailureResultUtil FailureResultUtil
contains helper methods forFailureResult
.JobFailureMetricReporter Helper class to simplify job failure reporting through a metric group.JobGraphJobInformation JobInformation
created from aJobGraph
.JobSchedulingPlan A plan that describes how to executeJobGraph
.JobSchedulingPlan.SlotAssignment Assignment of a slot to some target (e.g. a slot sharing group).