Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-10833

Remove unused cache in UserProvider

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.4.1
    • Fix Version/s: 2.6.0
    • Component/s: security
    • Labels:
      None

      Description

      UserProvider contains the field cache.

        private final Map<String, CredentialEntry> cache = new HashMap<String, 
            CredentialEntry>();
      

      It is referenced only in deleteCredentialEntry and so there is no real usage of cache.

        Attachments

        1. HADOOP-10833.patch
          1 kB
          Benoy Antony
        2. HADOOP-10833.patch
          1 kB
          Benoy Antony

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: