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 "Karthik Kambatla (JIRA)" <ji...@apache.org> on 2014/08/15 07:28:18 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 ]
Karthik Kambatla updated YARN-2126:
-----------------------------------
Fix Version/s: (was: 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
>
> 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)