hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Benoy Antony (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HADOOP-10833) Unused cache in UserProvider
Date Tue, 15 Jul 2014 17:21:06 GMT

     [ https://issues.apache.org/jira/browse/HADOOP-10833?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Benoy Antony updated HADOOP-10833:
----------------------------------

    Attachment: HADOOP-10833.patch

Removed the field {{cache}} and its reference.
Since there is no change in functionality, no tests are added.

> Unused cache in UserProvider
> ----------------------------
>
>                 Key: HADOOP-10833
>                 URL: https://issues.apache.org/jira/browse/HADOOP-10833
>             Project: Hadoop Common
>          Issue Type: Improvement
>          Components: security
>            Reporter: Benoy Antony
>            Assignee: Benoy Antony
>         Attachments: 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)

Mime
View raw message