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

Code cleanup in QueueAdminConfigurationMutationACLPolicy

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.3.0, 3.2.2, 3.4.0
    • Component/s: None
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      Method 'isMutationAllowed' contains many uses of substring and lastIndexOf.
      These could be extracted and simplified.
      Also, some logging could be added as well.

        Attachments

        1. YARN-9996.001.patch
          4 kB
          Siddharth Ahuja
        2. YARN-9996-branch-3.2.001.patch
          4 kB
          Siddharth Ahuja
        3. YARN-9996-branch-3.2.001.patch
          4 kB
          Szilard Nemeth
        4. YARN-9996-branch-3.2.001.patch
          4 kB
          Siddharth Ahuja
        5. YARN-9996-branch-3.3.001.patch
          4 kB
          Siddharth Ahuja

          Activity

            People

            • Assignee:
              sahuja Siddharth Ahuja
              Reporter:
              snemeth Szilard Nemeth
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: