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

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

    Assignee:     (was: Wei Yan)

> 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
>             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 chance to start its AM, the 
> amResourceUsage shouldn't be updated.



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

Reply via email to