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

    • Sub-task
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 2.5.0
    • security
    • None
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: