Github user rmetzger commented on a diff in the pull request:

    https://github.com/apache/flink/pull/2085#discussion_r66797580
  
    --- Diff: 
flink-yarn/src/main/java/org/apache/flink/yarn/YarnClusterClient.java ---
    @@ -211,18 +185,45 @@ public void run() {
                Runtime.getRuntime().addShutdownHook(clientShutdownHook);
     
                isConnected = true;
    +
    +           logAndSysout("Waiting until all TaskManagers have connected");
    +
    +           while(true) {
    --- End diff --
    
    It seems that this loop is now executed also for the YARN session. In the 
past, this was used only for "per job" yarn clusters, because there we needed 
to have all slots available to submit the job.
    
    Now, this loop is "blocking" the YARN session CLI if not all TaskManager's 
are connecting. Its not a big deal, but a change in the semantics.



---
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.
---

Reply via email to