[ https://issues.apache.org/jira/browse/YARN-9879?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17009845#comment-17009845 ]
Peter Bacsko commented on YARN-9879: ------------------------------------ Alternatively, we can have {{Map<String, CSQueue> fullToCSQueue}} and {{Map<String, CSQueue> leafToCSQueue}}, so we can avoid the double lookup (not that it's really that expensive). Also it's probably better to have {{Map<String, Integer>}} to check whether a leaf is unique. When we add/remove a queue, we increase/decrease a counter, so upon removal, we know whether it has became unique or not. > Allow multiple leaf queues with the same name in CS > --------------------------------------------------- > > Key: YARN-9879 > URL: https://issues.apache.org/jira/browse/YARN-9879 > Project: Hadoop YARN > Issue Type: Sub-task > Reporter: Gergely Pollak > Assignee: Gergely Pollak > Priority: Major > Attachments: DesignDoc_v1.pdf > > > Currently the leaf queue's name must be unique regardless of its position in > the queue hierarchy. > Design doc and first proposal is being made, I'll attach it as soon as it's > done. -- This message was sent by Atlassian Jira (v8.3.4#803005) --------------------------------------------------------------------- To unsubscribe, e-mail: yarn-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: yarn-issues-h...@hadoop.apache.org