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 "sandflee (JIRA)" <ji...@apache.org> on 2016/08/08 11:38:20 UTC

[jira] [Commented] (YARN-5483) Optimize RMAppAttempt#pullJustFinishedContainers

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