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

Used queue percentage not accurate in UI for 2.7 and below when using DominantResourceCalculator

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.7.3
    • 2.7.4
    • None
    • None

    Description

      YARN-4751 adds the getUsedCapacity and getAbsoluteUsedCapacity methods to AbstractCSQueue which is used to display queue usage in UI for branch-2.7 and below. However if there is more than one partition in the cluster, with different dominant resources, then queue usage may not be displayed as expected.

      Contrived example: Default partition has <90GB, 10vcores>, and "test" partition has <10GB, 90vcores>. root queue in default partition uses <30GB, 10vcores>. Here we expect queue usage to be 100 since it is using all vcores in default partition. But the displayed usage will be (30GB/100GB)/(90GB/100GB) = 33%.

      Attachments

        1. dominantRC.png
          229 kB
          Jonathan Hung
        2. YARN-6152-branch-2.7.001.patch
          3 kB
          Jonathan Hung
        3. YARN-6152-branch-2.7.002.patch
          3 kB
          Jonathan Hung

        Issue Links

          Activity

            People

              jhung Jonathan Hung
              jhung Jonathan Hung
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: