You are viewing a plain text version of this content. The canonical link for it is here.
Posted to yarn-dev@hadoop.apache.org by "Gergely Pollak (Jira)" <ji...@apache.org> on 2020/05/19 11:54:00 UTC
[jira] [Created] (YARN-10280) Find a better way to pass queue
manager for UserGroupMappingPlacementRule and AppNameMappingPlacementRule
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: yarn-dev-unsubscribe@hadoop.apache.org
For additional commands, e-mail: yarn-dev-help@hadoop.apache.org