[ 
https://issues.apache.org/jira/browse/HADOOP-10833?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14111133#comment-14111133
 ] 

Larry McCay commented on HADOOP-10833:
--------------------------------------

Hi [~benoyantony] - I am curious why you would remove the cache rather than fix 
it so that it is used properly? I'm not sure that passwords necessarily need to 
be retrieved more than once by the same consumer but they may...

> Remove unused cache in UserProvider
> -----------------------------------
>
>                 Key: HADOOP-10833
>                 URL: https://issues.apache.org/jira/browse/HADOOP-10833
>             Project: Hadoop Common
>          Issue Type: Improvement
>          Components: security
>    Affects Versions: 2.4.1
>            Reporter: Benoy Antony
>            Assignee: Benoy Antony
>         Attachments: HADOOP-10833.patch, HADOOP-10833.patch
>
>
> _UserProvider_ contains the field cache.
> {code}
>   private final Map<String, CredentialEntry> cache = new HashMap<String, 
>       CredentialEntry>();
> {code}
>       
> It is referenced only in {{deleteCredentialEntry}} and so there is no real 
> usage of {{cache}}.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to