Class DefaultExecutionDeploymentReconciler
java.lang.Object
org.apache.flink.runtime.jobmaster.DefaultExecutionDeploymentReconciler
- All Implemented Interfaces:
ExecutionDeploymentReconciler
public class DefaultExecutionDeploymentReconciler
extends Object
implements ExecutionDeploymentReconciler
Default
ExecutionDeploymentReconciler implementation. Detects missing/unknown
deployments, and defers to a provided ExecutionDeploymentReconciliationHandler to resolve
them.-
Nested Class Summary
Nested classes/interfaces inherited from interface org.apache.flink.runtime.jobmaster.ExecutionDeploymentReconciler
ExecutionDeploymentReconciler.Factory -
Constructor Summary
ConstructorsConstructorDescription -
Method Summary
Modifier and TypeMethodDescriptionvoidreconcileExecutionDeployments(ResourceID taskExecutorHost, ExecutionDeploymentReport executionDeploymentReport, Map<ExecutionAttemptID, ExecutionDeploymentState> expectedDeployedExecutions) Reconciles the deployment states between all reported/expected executions for the given task executor.
-
Constructor Details
-
DefaultExecutionDeploymentReconciler
-
-
Method Details
-
reconcileExecutionDeployments
public void reconcileExecutionDeployments(ResourceID taskExecutorHost, ExecutionDeploymentReport executionDeploymentReport, Map<ExecutionAttemptID, ExecutionDeploymentState> expectedDeployedExecutions) Description copied from interface:ExecutionDeploymentReconcilerReconciles the deployment states between all reported/expected executions for the given task executor.- Specified by:
reconcileExecutionDeploymentsin interfaceExecutionDeploymentReconciler- Parameters:
taskExecutorHost- hosting task executorexecutionDeploymentReport- task executor report for deployed executionsexpectedDeployedExecutions- map of expected executions and their current deployment status
-