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 "yanbing zhang (JIRA)" <ji...@apache.org> on 2019/04/16 12:22:00 UTC

[jira] [Created] (YARN-9490) applicationresourceusagereport return wrong number of reserved containers

yanbing zhang created YARN-9490:
-----------------------------------

             Summary: applicationresourceusagereport return wrong number of reserved containers
                 Key: YARN-9490
                 URL: https://issues.apache.org/jira/browse/YARN-9490
             Project: Hadoop YARN
          Issue Type: Bug
          Components: resourcemanager
    Affects Versions: 3.3.0
            Reporter: yanbing zhang
             Fix For: 3.3.0


when getting an ApplicationResourceUsageReport instance from the class of SchedulerApplicationAttempt, I found the input constructor parameter(reservedContainers.size()) is wrong.  because the type of this variable is Map<SchedulerRequestKey, Map<NodeId, RMContainer>>, so "reservedContainer.size()" is not the number of containers, but the number of SchedulerRequestKey.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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