Uploaded image for project: 'Hadoop YARN'
  1. Hadoop YARN
  2. YARN-9490

applicationresourceusagereport return wrong number of reserved containers

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Patch Available
    • Minor
    • Resolution: Unresolved
    • 3.3.0
    • None
    • resourcemanager
    • None

    Description

      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.

      Attachments

        1. YARN-9490.patch
          2 kB
          yanbing zhang
        2. YARN-9490.patch1.patch
          2 kB
          yanbing zhang
        3. YARN-9490.002.patch
          2 kB
          yanbing zhang

        Activity

          People

            zyb yanbing zhang
            zyb yanbing zhang
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated: