hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Wei Yan (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (YARN-2126) The FSLeafQueue.amResourceUsage shouldn't be updated when an Application removed before it runs AM
Date Wed, 11 Jun 2014 01:17:02 GMT

     [ 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)

Mime
View raw message