You are viewing a plain text version of this content. The canonical link for it is here.
Posted to yarn-issues@hadoop.apache.org by "Rohith Sharma K S (JIRA)" <ji...@apache.org> on 2016/06/16 16:41:05 UTC

[jira] [Updated] (YARN-5262) Optimize sending RMNodeFinishedContainersPulledByAMEvent for every AM heartbeat

     [ https://issues.apache.org/jira/browse/YARN-5262?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Rohith Sharma K S updated YARN-5262:
------------------------------------
    Attachment: 0001-YARN-5262.patch

Updated the straight forward patch.. 

> 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
>         Attachments: 0001-YARN-5262.patch
>
>
> 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-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: yarn-issues-help@hadoop.apache.org