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

Code cleanup in QueueAdminConfigurationMutationACLPolicy

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.3.0, 3.2.2, 3.4.0
    • 3.3.0, 3.2.2, 3.4.0
    • resourcemanager
    • None

    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

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

            Dates

              Created:
              Updated:
              Resolved: