hadoop-yarn-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Miklos Szegedi (JIRA)" <j...@apache.org>
Subject [jira] [Created] (YARN-6158) FairScheduler: app usage can go to negative
Date Wed, 08 Feb 2017 02:19:41 GMT
Miklos Szegedi created YARN-6158:
------------------------------------

             Summary: FairScheduler: app usage can go to negative
                 Key: YARN-6158
                 URL: https://issues.apache.org/jira/browse/YARN-6158
             Project: Hadoop YARN
          Issue Type: Bug
          Components: fairscheduler, resourcemanager
    Affects Versions: 3.0.0-alpha2
            Reporter: Miklos Szegedi
            Assignee: Miklos Szegedi


FiCaSchedulerApp.containerCompleted checks, if the container being completed is in the active
list:
{code}
      // Remove from the list of containers
      if (null == liveContainers.remove(containerId)) {
        return false;
      }
{code}
Fair scheduler should do the same, otherwise multiple different container close events leave
the application with negative resource usage in {{queue.getMetrics().releaseResources}} and
{{attemptResourceUsage.decUsed}}



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

---------------------------------------------------------------------
To unsubscribe, e-mail: yarn-dev-unsubscribe@hadoop.apache.org
For additional commands, e-mail: yarn-dev-help@hadoop.apache.org


Mime
View raw message