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

Simplify UserGroupMappingPlacementRule#getPlacementForUser

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Won't Fix
    • None
    • None
    • scheduler
    • None

    Description

      The UserGroupMappingPlacementRule#getPlacementForUser method, which is mainly responsible for queue naming, contains deeply nested branches. In order to provide an extendable mapping logic, the branches could be flattened and simplified.

      Attachments

        1. YARN-10199.001.patch
          7 kB
          Andras Gyori
        2. YARN-10199.002.patch
          20 kB
          Andras Gyori
        3. YARN-10199.003.patch
          22 kB
          Andras Gyori
        4. YARN-10199.004.patch
          25 kB
          Andras Gyori
        5. YARN-10199.005.patch
          26 kB
          Andras Gyori
        6. YARN-10199.006.patch
          25 kB
          Andras Gyori
        7. YARN-10199.007.patch
          26 kB
          Andras Gyori

        Issue Links

          Activity

            People

              gandras Andras Gyori
              gandras Andras Gyori
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: