[ 
https://issues.apache.org/jira/browse/YARN-5483?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15411694#comment-15411694
 ] 

sandflee commented on YARN-5483:
--------------------------------

YARN-5262 is patched.  found justFinishedContainers is never cleared, and there 
are many unnecessarily update to justFinishedContainers.
{code}
        // Clear and get current values
        List<ContainerStatus> finishedContainers = justFinishedContainers.put
            (nodeId, new ArrayList<ContainerStatus>());
{code}

> Optimize RMAppAttempt#pullJustFinishedContainers
> ------------------------------------------------
>
>                 Key: YARN-5483
>                 URL: https://issues.apache.org/jira/browse/YARN-5483
>             Project: Hadoop YARN
>          Issue Type: Improvement
>            Reporter: sandflee
>            Assignee: sandflee
>         Attachments: YARN-5483.01.patch, jprofiler-cpu.png
>
>
> about 1000 app running on cluster, jprofiler found pullJustFinishedContainers 
> cost too much cpu.



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

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

Reply via email to