Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-10648 Service Authorization Improvements
  3. HADOOP-10659

Refactor AccessControlList to reuse utility functions and to improve performance

    XMLWordPrintableJSON

    Details

    • Type: Sub-task
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.5.0
    • Component/s: security
    • Labels:
      None
    • Target Version/s:
    • Hadoop Flags:
      Reviewed

      Description

      Minor improvements can be done on AccessControlList.

      Code Reusability:
      AccessControlList sanitizes the input list to remove duplicate entries, trim entries. StringUtils.getTrimmedStringCollection can be used in this case.

      Performance:
      AccessControlList uses TreeSet to maintain set of users and groups.
      HashSet improves the performance slightly.

        Attachments

        1. HADOOP-10659.patch
          7 kB
          Benoy Antony

          Issue Links

            Activity

              People

              • Assignee:
                benoyantony Benoy Antony
                Reporter:
                benoyantony Benoy Antony
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: