Github user mxm commented on the pull request:
https://github.com/apache/flink/pull/1913#issuecomment-218821172
There are some subtle consequences of the fact that the `ExecutionConfig`
must not be modified after it has been passed to the `JobGraph` (because it has
been serialized). I think this overall helps to make the code clearer but it
requires some more code changes.
I'll remove the ExecutionConfig from the JobGraph constructor. We pass `new
ExecutionConfig()` there anyways. Instead, a custom ExecutionConfig will be set
via a `setExecutionConfig(..)` method.
---
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.
---