Uploaded image for project: 'Hadoop YARN'
  1. Hadoop YARN
  2. YARN-9698 [Umbrella] Tools to help migration from Fair Scheduler to Capacity Scheduler
  3. YARN-9841

Capacity scheduler: add support for combined %user + %primary_group mapping

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 3.3.0
    • capacity scheduler
    • None
    • Reviewed

    Description

      Right now in CS, using %primary_group with a parent queue is only possible this way:

      u:%user:parentqueue.%primary_group

      Looking at https://github.com/apache/hadoop/blob/trunk/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/main/java/org/apache/hadoop/yarn/server/resourcemanager/placement/UserGroupMappingPlacementRule.java, we cannot do something like:

      u:%user:%primary_group.%user

      Fair Scheduler supports a nested rule where such a placement/mapping rule is possible. This improvement would reduce this feature gap.

      Attachments

        1. YARN-9841.001.patch
          13 kB
          Peter Bacsko
        2. YARN-9841.001.patch
          13 kB
          Manikandan R
        3. YARN-9841.002.patch
          15 kB
          Manikandan R
        4. YARN-9841.003.patch
          15 kB
          Manikandan R
        5. YARN-9841.004.patch
          15 kB
          Manikandan R
        6. YARN-9841.005.patch
          17 kB
          Manikandan R
        7. YARN-9841.junit.patch
          7 kB
          Manikandan R

        Issue Links

          Activity

            People

              manirajv06@gmail.com Manikandan R
              pbacsko Peter Bacsko
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: