-
Notifications
You must be signed in to change notification settings - Fork 13.8k
FLINK-3327: ExecutionConfig to JobGraph. #1583
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
7fe608d
to
fdf74f0
Compare
Looks good at a first glance. I'll try to go through it and see if I can merge it... |
Thanks a lot @StephanEwen |
3fd32bb
to
f2594da
Compare
3105029
to
84299ba
Compare
Please review the new pull request. Thanks a lot! |
84299ba
to
aa6ca2b
Compare
Hello! Just rebased to the new master. Please review. |
return 1; | ||
} | ||
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
only change made in this file is formatting.
we could probably heavily reduce the diff by providing JobGraph constructors with/without the executionconfig argument. (if none is given, we just instantiate a new one) |
public int getNumberOfExecutionRetries() { | ||
return numExecutionRetries; | ||
int retries = executionConfig.getNumberOfExecutionRetries(); | ||
if (retries < -1) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this check shouldn't be necessary, since setNumberOfExecutionRetries already checks for it.
Made a few remarks, but didn't find any issue that isn't a minor one. Good job! |
6b89c89
to
df3a84f
Compare
948e978
to
2495fea
Compare
Please Review. |
Changes look good. Do you know what happened to the ExecutionStateProgressTest diff? |
7c690c5
to
de135e2
Compare
The problem is the CRLF vs LF characters in the committed versions of the files. |
Please Review this PR. |
519432b
to
ea35baa
Compare
Just rebased. Please review this PR. |
8f7d9fa
to
7ced60c
Compare
…es it to the Task itself.
@StephanEwen , @zentol I just rebased to the latest master. Please review because the PR touches a lot of classes. |
looks like something went wrong while rebasing, a commit by aljoscha suddenly popped up. but hey, that can be fixed while merging, +1 from me. |
Thanks a lot @zentol |
are there any objections to merging this? let's get this one in. |
merging this. |
Thanks a lot! |
This makes the ExecutionConfig available to the Task. In a nutshell, the ExecutionConfig is attached to the JobGraph which is sent to the JobManager. The JobManager passes it to the ExecutionGraph, and, later on, to the TaskDeploymentDescriptor, and the TaskManager puts it into the Environment, which is visible to the AbstractInvocable.