Gergely Pollak created YARN-10280:
-------------------------------------
Summary: Find a better way to pass queue manager for
UserGroupMappingPlacementRule and AppNameMappingPlacementRule
Key: YARN-10280
URL: https://issues.apache.org/jira/browse/YARN-10280
Project: Hadoop YARN
Issue Type: Task
Reporter: Gergely Pollak
Since YARN-9789 (Allow multiple leaf queues with the same name in
CapacityScheduler) we need to use full queue paths internally, however for
backwards compatibility reasons we still allow users to reference queues by
their leaf queue name. ThisĀ means we need to look up queues in queue manager
by their short name to get the full path of the queue. This is why we need the
queue manager in certain methods in these classes.
Currently the qm instance is passed via method arguments wherever necessary,
but since the Placement rule classes depend on queue manager, it should be
passed and stored as a field.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]