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

applicationresourceusagereport return wrong number of reserved containers

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Patch Available
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 3.3.0
    • Fix Version/s: 3.3.0
    • Component/s: resourcemanager
    • Labels:
      None
    • Target Version/s:

      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.002.patch
          2 kB
          yanbing zhang
        2. YARN-9490.patch
          2 kB
          yanbing zhang
        3. YARN-9490.patch1.patch
          2 kB
          yanbing zhang

          Activity

            People

            • Assignee:
              zyb yanbing zhang
              Reporter:
              zyb yanbing zhang
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated: