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

    https://github.com/apache/flink/pull/2257#discussion_r71350758
  
    --- Diff: 
flink-yarn/src/main/java/org/apache/flink/yarn/YarnFlinkResourceManager.java ---
    @@ -78,6 +79,9 @@
        /** The containers where a TaskManager is starting and we are waiting 
for it to register */
        private final Map<ResourceID, YarnContainerInLaunch> containersInLaunch;
     
    +   /** The container where a TaskManager has been started and is running 
in */
    +   private final Map<ResourceID, Container> containersLaunched;
    --- End diff --
    
    >You tell me, since you've authored this component. 
    
    I think there is a misunderstanding. I did author this component but it is 
not mine. I know you spend some time working on this and I just want to 
understand your motives. I thought actually you had tried this fix since you 
mentioned it in the JIRA.
    
    I think clearing the list is simply a bug and artifact of an old code 
design where the ResourceManager would be the central instance for TaskManager 
registration. 


---
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 infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to