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 "Wei Yan (JIRA)" <ji...@apache.org> on 2014/06/05 18:10:03 UTC

[jira] [Updated] (YARN-2126) The FSLeafQueue.amResourceUsage shouldn't be updated when an Application removed before it runs AM

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

Wei Yan updated YARN-2126:
--------------------------

    Fix Version/s: 2.5.0

> The FSLeafQueue.amResourceUsage shouldn't be updated when an Application removed before it runs AM
> --------------------------------------------------------------------------------------------------
>
>                 Key: YARN-2126
>                 URL: https://issues.apache.org/jira/browse/YARN-2126
>             Project: Hadoop YARN
>          Issue Type: Bug
>            Reporter: Wei Yan
>            Assignee: Wei Yan
>             Fix For: 2.5.0
>
>
> When an application is removed, the FSLeafQueue updates its amResourceUsage.
> {code}
>   if (runnableAppScheds.remove(app.getAppSchedulable())) {
>       // Update AM resource usage
>       if (app.getAMResource() != null) {
>         Resources.subtractFrom(amResourceUsage, app.getAMResource());
>       }
>       return true;
>   }
> {code}
> If an application is removed before it has a change to start its AM, the amResourceUsage shouldn't be updated.



--
This message was sent by Atlassian JIRA
(v6.2#6252)