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

Owen O'Malley updated HADOOP-6670:
----------------------------------

    Attachment: fs-close.patch

This patch changes UGI.hashCode to be the identity hash of the Subject and 
equals to check == between the subjects.

> UserGroupInformation doesn't support use in hash tables
> -------------------------------------------------------
>
>                 Key: HADOOP-6670
>                 URL: https://issues.apache.org/jira/browse/HADOOP-6670
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: security
>            Reporter: Owen O'Malley
>            Assignee: Owen O'Malley
>         Attachments: fs-close.patch, fs-close.patch
>
>
> The UserGroupInformation objects are mutable, but they are used as keys in 
> hash tables. This leads to serious problems in the FileSystem cache and RPC 
> connection cache. We need to change the hashCode to be the identity hash code 
> of the Subject and change equals to use == between the Subjects.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to