/** * Creates a new failover strategy that recovers from failures by restarting only the failed task * of the execution graph. * * <p>The strategy will use the ExecutionGraph's future executor for callbacks. * * @param executionGraph The execution graph to handle. */ public RestartIndividualStrategy(ExecutionGraph executionGraph) { this(executionGraph, executionGraph.getFutureExecutor()); }
/** * Creates a new failover strategy to restart pipelined regions that works on the given * execution graph and uses the execution graph's future executor to call restart actions. * * @param executionGraph The execution graph on which this FailoverStrategy will work */ public RestartPipelinedRegionStrategy(ExecutionGraph executionGraph) { this(executionGraph, executionGraph.getFutureExecutor()); }
/** * Creates a new failover strategy that recovers from failures by restarting only the failed task * of the execution graph. * * <p>The strategy will use the ExecutionGraph's future executor for callbacks. * * @param executionGraph The execution graph to handle. */ public RestartIndividualStrategy(ExecutionGraph executionGraph) { this(executionGraph, executionGraph.getFutureExecutor()); }
/** * Creates a new failover strategy to restart pipelined regions that works on the given * execution graph and uses the execution graph's future executor to call restart actions. * * @param executionGraph The execution graph on which this FailoverStrategy will work */ public RestartPipelinedRegionStrategy(ExecutionGraph executionGraph) { this(executionGraph, executionGraph.getFutureExecutor()); }
/** * Creates a new failover strategy that recovers from failures by restarting only the failed task * of the execution graph. * * <p>The strategy will use the ExecutionGraph's future executor for callbacks. * * @param executionGraph The execution graph to handle. */ public RestartIndividualStrategy(ExecutionGraph executionGraph) { this(executionGraph, executionGraph.getFutureExecutor()); }
/** * Creates a new failover strategy to restart pipelined regions that works on the given * execution graph and uses the execution graph's future executor to call restart actions. * * @param executionGraph The execution graph on which this FailoverStrategy will work */ public RestartPipelinedRegionStrategy(ExecutionGraph executionGraph) { this(executionGraph, executionGraph.getFutureExecutor()); }
/** * Creates a new failover strategy that recovers from failures by restarting only the failed task * of the execution graph. * * <p>The strategy will use the ExecutionGraph's future executor for callbacks. * * @param executionGraph The execution graph to handle. */ public RestartIndividualStrategy(ExecutionGraph executionGraph) { this(executionGraph, executionGraph.getFutureExecutor()); }
/** * Creates a new failover strategy to restart pipelined regions that works on the given * execution graph and uses the execution graph's future executor to call restart actions. * * @param executionGraph The execution graph on which this FailoverStrategy will work * @param regionFailLimit The max number a region can fail */ public RestartPipelinedRegionStrategy(ExecutionGraph executionGraph, int regionFailLimit) { this(executionGraph, executionGraph.getFutureExecutor(), regionFailLimit); }
!vertex.getGraph().getState().isGloballyTerminalState()) { Executor executor = vertex.getGraph().getFutureExecutor();
!vertex.getGraph().getState().isGloballyTerminalState()) { Executor executor = vertex.getGraph().getFutureExecutor();
!vertex.getGraph().getState().isGloballyTerminalState()) { Executor executor = vertex.getGraph().getFutureExecutor();
!vertex.getGraph().getState().isGloballyTerminalState()) { Executor executor = vertex.getGraph().getFutureExecutor();
protected void notifyAndUpdateConsumers(IntermediateResultPartition partition) { getExecutionGraph().getGraphManager().notifyResultPartitionConsumable( getExecutionVertexID(), partition.getIntermediateResult().getId(), partition.getPartitionNumber(), getCurrentAssignedResourceLocation()); getExecutionGraph().getFutureExecutor().execute(() -> { currentExecution.updateConsumers(partition.getConsumers()); }); }
getExecutionGraph().getFutureExecutor(), this, 0,
getExecutionGraph().getFutureExecutor(), this, 0,
getExecutionGraph().getFutureExecutor(), this, 0,
getExecutionGraph().getFutureExecutor(), this, 0,
getExecutionGraph().getFutureExecutor(), this, oldExecution.getAttemptNumber() + 1,
getExecutionGraph().getFutureExecutor(), this, oldExecution.getAttemptNumber() + 1,
getExecutionGraph().getFutureExecutor(), this, oldExecution.getAttemptNumber() + 1,