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

Absolute Resource [memory=0] is considered as Percentage config type

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.4.0
    • 3.4.0
    • capacity scheduler
    • None
    • Reviewed

    Description

      Absolute Resource [memory=0] is considered as Percentage config type. This causes failure while converting queues from Percentage to Absolute Resources automatically.

      Repro:

      1. Queue A = 100% and child queues Queue A.B = 0%, A.C=100%

      2. While converting above to absolute resource automatically, capacity of queue A = [memory=<cluster resource>], A.B = [memory=0]

      This fails with below as A is considered as Absolute Resource whereas B is considered as Percentage config type.

      2020-07-23 09:36:40,499 WARN org.apache.hadoop.yarn.server.resourcemanager.webapp.RMWebServices: CapacityScheduler configuration validation failed:java.io.IOException: Failed to re-init queues : Parent queue 'root.A' and child queue 'root.A.B' should use either percentage based capacityconfiguration or absolute resource together for label:
      

      Attachments

        1. YARN-10364.001.patch
          8 kB
          Bilwa S T
        2. YARN-10364.002.patch
          9 kB
          Bilwa S T
        3. YARN-10364.003.patch
          10 kB
          Bilwa S T

        Activity

          People

            BilwaST Bilwa S T
            prabhujoseph Prabhu Joseph
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: