Uploaded image for project: 'Hadoop YARN'
  1. Hadoop YARN
  2. YARN-10888 [Umbrella] New capacity modes for CS
  3. YARN-10930

Introduce universal configured capacity vector

    XMLWordPrintableJSON

Details

    • Reviewed

    Description

      The proposal is to introduce a capacity resource vector that is universally parsed for every queue. CapacityResourceVector is a way to unite the current capacity modes (weight, percentage, absolute), while maintaining flexibility and extendability.
      CapacityResourceVector is a good fit for the existing capacity configs, for example:

      • percentage mode: root.example.capacity 50 is a syntactic sugar for [memory=50%, vcores=50%, ....]
      • absolute mode: root.example.capacity [memory=1024, vcores=2] is a natural fit for the vector, there is no need for additional settings
        CapacityResourceVector will be used in a future refactor, to unify the resource calculation and lift the limitation imposed on the queue hierarchy capacity settings (eg. can not use both absolute resource and percentage in the same hierarchy etc...)

      Attachments

        Issue Links

          Activity

            People

              gandras Andras Gyori
              gandras Andras Gyori
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 6.5h
                  6.5h