Rohith Sharma K S created YARN-5262:
---------------------------------------

             Summary: Optimize sending RMNodeFinishedContainersPulledByAMEvent 
for every AM heartbeat
                 Key: YARN-5262
                 URL: https://issues.apache.org/jira/browse/YARN-5262
             Project: Hadoop YARN
          Issue Type: Bug
          Components: resourcemanager
            Reporter: Rohith Sharma K S
            Assignee: Rohith Sharma K S


It is observed that RM triggers an one event for every 
ApplicationMaster#allocate request in the following trace. This is not 
necessarily required and it can be optimized such that send only if any 
containers are there to acknowledge to NodeManager. 
{code}
        RMAppAttemptImpl.sendFinishedContainersToNM() line: 1871        
        RMAppAttemptImpl.pullJustFinishedContainers() line: 805 
        ApplicationMasterService.allocate(AllocateRequest) line: 567
{code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: yarn-dev-unsubscr...@hadoop.apache.org
For additional commands, e-mail: yarn-dev-h...@hadoop.apache.org

Reply via email to