Uploaded image for project: 'Hadoop YARN'
  1. Hadoop YARN
  2. YARN-10280

Find a better way to pass queue manager for UserGroupMappingPlacementRule and AppNameMappingPlacementRule

    XMLWordPrintableJSON

Details

    • Task
    • Status: In Progress
    • Major
    • Resolution: Unresolved
    • None
    • None
    • None
    • None

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              shuzirra Gergely Pollák
              shuzirra Gergely Pollák
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated: