-
Notifications
You must be signed in to change notification settings - Fork 13.8k
[FLINK-11678] Clean up ExecutionGraphCache to use ArchivedExecutionGraphs #7769
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
|
Thanks a lot for your contribution to the Apache Flink project. I'm the @flinkbot. I help the community Review Progress
Please see the Pull Request Review Guide for a full explanation of the review process. DetailsBot commandsThe @flinkbot bot supports the following commands:
|
zentol
left a comment
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.
+1 for FLINK-11678 commits
@flinkbot approve all
Nulling the resourceManagerAddress when suspending the JobMaster prevents that the JobMaster tries to reconnect to the ResourceManager if it receives a disconnectResourceManager message.
…omically This commit makes the suspend call transition the ExecutionGraph atomically into the SUSPENDED state without requiring a round-trip to cancel all task properly. Instead it simply notifies the TaskExecutors about the suspension and then transitions the Executions into a terminal state. Moreover, this commit removes JobStatus#SUSPENDING. This closes apache#7756.
…ableFuture<ArchivedExecutionGraph>
The ExecutionGraphCache now only stores ArchivedExecutionGraphs since it will never receive an ExecutionGraph from the RestfulGateway. - Remove ExecutionGraphTest#testCacheInvalidationIfSuspended - Remove ExecutionGraphTest#testCacheInvalidationIfSwitchToSuspended This closes apache#7769.
794621c to
5c63094
Compare
The ExecutionGraphCache now only stores ArchivedExecutionGraphs since it will never receive an ExecutionGraph from the RestfulGateway. - Remove ExecutionGraphTest#testCacheInvalidationIfSuspended - Remove ExecutionGraphTest#testCacheInvalidationIfSwitchToSuspended This closes #7769.
What is the purpose of the change
Clean up ExecutionGraphCache to use ArchivedExecutionGraphs.
This PR is based on #7756.
Brief change log
Change RestfulGateway#requestJob return type to CompletableFuture.
The ExecutionGraphCache now only stores ArchivedExecutionGraphs since it will never receive an
ExecutionGraph from the RestfulGateway.
Verifying this change
Does this pull request potentially affect one of the following parts:
@Public(Evolving): (no)Documentation