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

Remove unused cache in UserProvider

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.4.1
    • 2.6.0
    • security
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: