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

queueUsagePercentage is wrongly calculated for applications in zero-capacity queues

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Duplicate
    • 3.0.0-alpha4
    • None
    • capacityscheduler
    • None

    Description

      For applicaitons in zero-capacity queues, queueUsagePercentage is wrongly calculated to INFINITY with expression (queueUsagePercentage = usedResource / (totalPartitionRes * queueAbsMaxCapPerPartition) when the queueAbsMaxCapPerPartition=0.
      We can add a precondition (queueAbsMaxCapPerPartition != 0) before this calculation to fix this problem.

      Attachments

        1. YARN-7471.001.patch
          4 kB
          Tao Yang

        Issue Links

          Activity

            People

              Tao Yang Tao Yang
              Tao Yang Tao Yang
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: