hadoop-yarn-dev mailing list archives

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

             Summary: 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


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)

Mime
View raw message