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

Calculation of maximum applications should respect specified and global maximum applications for absolute resource

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Patch Available
    • Major
    • Resolution: Unresolved
    • 3.2.0
    • None
    • capacityscheduler
    • None

    Description

      Currently maximum applications is expected to be calculated as follow according to priority when using percentage based capacity:
      (1) equals specified maximum applications for queues
      (2) equals global maximum applications
      (3) calculated as queue-capacity * maximum-system-applications
      But for absolute resource configuration, maximum applications is calculated as (3) in ParentQueue#deriveCapacityFromAbsoluteConfigurations, this is a strict limit for high max-capacity and low capacity queues which have little guaranteed resources but want to use lots of share resources. So I propose to share the maximum applications calculation of percentage based capacity, absolute resource can call the same calculation if necessary.

      Attachments

        1. YARN-8945.001.patch
          9 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: