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

Hudson commented on HADOOP-6670:
--------------------------------

Integrated in Hadoop-Common-trunk #395 (See 
[http://hudson.zones.apache.org/hudson/job/Hadoop-Common-trunk/395/])
    HADOOP-6670. Use the UserGroupInformation's Subject as the criteria for 
equals and hashCode. Contributed by Owen O'Malley and Kan Zhang.


> 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
>             Fix For: 0.22.0
>
>         Attachments: 6670-gridmix-test.bugfix.patch, c6670-02.patch, 
> c6670-03.patch, fs-close.patch, 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