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

Fair scheduler queue metrics should subtract allocated vCores from available vCores

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.0.2-alpha
    • Fix Version/s: 2.1.0-beta
    • Component/s: scheduler
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      The queue metrics of fair scheduler doesn't subtract allocated vCores from available vCores, causing the available vCores returned is incorrect.
      This is happening because

      QueueMetrics.getAllocateResources()

      doesn't return the allocated vCores.

        Attachments

        1. YARN-795.patch
          8 kB
          Wei Yan
        2. YARN-795-2.patch
          8 kB
          Wei Yan

          Activity

            People

            • Assignee:
              ywskycn Wei Yan
              Reporter:
              ywskycn Wei Yan
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: