You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by GitBox <gi...@apache.org> on 2019/03/05 16:03:44 UTC

[GitHub] [flink] azagrebin commented on a change in pull request #7889: [FLINK-11665] Wait for job termination before recovery in Dispatcher

azagrebin commented on a change in pull request #7889: [FLINK-11665] Wait for job termination before recovery in Dispatcher
URL: https://github.com/apache/flink/pull/7889#discussion_r262562979
 
 

 ##########
 File path: flink-runtime/src/main/java/org/apache/flink/runtime/dispatcher/Dispatcher.java
 ##########
 @@ -313,8 +318,6 @@ private void stopDispatcherServices() throws Exception {
 
 		final CompletableFuture<JobManagerRunner> jobManagerRunnerFuture = createJobManagerRunner(jobGraph);
 
-		jobManagerRunnerFutures.put(jobGraph.getJobID(), jobManagerRunnerFuture);
 
 Review comment:
   My changes probably changed timing for events happening in some unit tests and triggered a concurrency issue fixed by this change. The PR would have test instability without this change. I think it is small enough to be part of this PR, though, I can factor it out into a separate commit.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services