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

    • Type: Sub-task
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.3.0
    • Component/s: capacity scheduler
    • Labels:
      None
    • Hadoop Flags:
      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

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

                Dates

                • Created:
                  Updated:
                  Resolved: