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

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.0.2-alpha
    • 2.1.0-beta
    • scheduler
    • None
    • 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-2.patch
          8 kB
          Wei Yan
        2. YARN-795.patch
          8 kB
          Wei Yan

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: