Interface StateTransitions.ToRestarting

    • Method Detail

      • goToRestarting

        void goToRestarting​(ExecutionGraph executionGraph,
                            ExecutionGraphHandler executionGraphHandler,
                            OperatorCoordinatorHandler operatorCoordinatorHandler,
                            Duration backoffTime,
                            @Nullable
                            VertexParallelism restartWithParallelism,
                            List<ExceptionHistoryEntry> failureCollection)
        Transitions into the Restarting state.
        Parameters:
        executionGraph - executionGraph to pass to the Restarting state
        executionGraphHandler - executionGraphHandler to pass to the Restarting state
        operatorCoordinatorHandler - operatorCoordinatorHandler to pas to the Restarting state
        backoffTime - backoffTime to wait before transitioning to the Restarting state
        restartWithParallelism - the VertexParallelism that triggered the restarting. The AdaptiveScheduler should transition directly to CreatingExecutionGraph if the available parallelism hasn't changed while cancelling the job. If null is passed or the parallelism changed, WaitingForResources state should be the subsequent state.
        failureCollection - collection of failures that are propagated