tillrohrmann commented on a change in pull request #7568: [FLINK-11417] Make 
access to ExecutionGraph single threaded from JobMaster main thread
URL: https://github.com/apache/flink/pull/7568#discussion_r250646366
 
 

 ##########
 File path: 
flink-runtime/src/main/java/org/apache/flink/runtime/jobmaster/JobMaster.java
 ##########
 @@ -523,7 +523,7 @@ public void start() {
                                                                
String.format("Failed to rescale the job %s.", jobGraph.getJobID()),
                                                                throwable)));
                                }
-                       });
+                       }, getMainThreadExecutor());
 
 Review comment:
   This could happen as a follow up: I think there should be no need to add the 
main thread executor here. Instead `rescalingFuture` should always be completed 
from within the main thread.

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


With regards,
Apache Git Services

Reply via email to