GitHub user tillrohrmann opened a pull request:
https://github.com/apache/flink/pull/3441
[backport-1.1] [FLINK-5934] Set the Scheduler in the ExecutionGraph via its
constructor
This is a backport of #3437 onto `release-1.1`.
Before the scheduler was set when calling
ExecutionGraph.scheduleForExecution(). This
has the disadvantage that the ExecutionGraph has not scheduler set if
something else
went wrong before the scheduleForExecution call. Consequently, the job will
be stuck
in a restart loop because the recovery will fail if there is no Scheduler
set. In
order to solve the problem, the Scheduler is not passed to the
ExecutionGraph when
it is created.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/tillrohrmann/flink
fixExecutionGraphSchedulerBp1.1
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/flink/pull/3441.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #3441
----
commit 462ba8ce0029b262bd6755000037c932920bac32
Author: Till Rohrmann <[email protected]>
Date: 2017-02-28T14:20:47Z
[FLINK-5934] Set the Scheduler in the ExecutionGraph via its constructor
Before the scheduler was set when calling
ExecutionGraph.scheduleForExecution(). This
has the disadvantage that the ExecutionGraph has not scheduler set if
something else
went wrong before the scheduleForExecution call. Consequently, the job will
be stuck
in a restart loop because the recovery will fail if there is no Scheduler
set. In
order to solve the problem, the Scheduler is not passed to the
ExecutionGraph when
it is created.
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---