You are viewing a plain text version of this content. The canonical link for it is here.
Posted to yarn-issues@hadoop.apache.org by "Andras Gyori (Jira)" <ji...@apache.org> on 2021/08/31 10:10:00 UTC

[jira] [Created] (YARN-10930) Introduce universal capacity resource vector

Andras Gyori created YARN-10930:
-----------------------------------

             Summary: Introduce universal capacity resource vector
                 Key: YARN-10930
                 URL: https://issues.apache.org/jira/browse/YARN-10930
             Project: Hadoop YARN
          Issue Type: Sub-task
          Components: capacity scheduler
            Reporter: Andras Gyori
            Assignee: Andras Gyori


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...)



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: yarn-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: yarn-issues-help@hadoop.apache.org