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/25 13:13:00 UTC

[jira] [Created] (YARN-10897) Introduce QueuePath class

Andras Gyori created YARN-10897:
-----------------------------------

             Summary: Introduce QueuePath class
                 Key: YARN-10897
                 URL: https://issues.apache.org/jira/browse/YARN-10897
             Project: Hadoop YARN
          Issue Type: Sub-task
          Components: resourcemanager, yarn
            Reporter: Andras Gyori
            Assignee: Andras Gyori


The same idioms regarding queue path strings are repeated over and over in the codebase. Including but not limited to:
* Get parent queue of a queue path
* Split queue path and iterate through it
* Traverse a queue path all the way to root
It also inherently provides some kind of type safety and documentation extension to the code (eg. instead of Map<String, Object> the Map<QueuePath, Object> communicates more clearly what we group items by).



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