You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Owen O'Malley (JIRA)" <ji...@apache.org> on 2010/04/01 08:07:27 UTC

[jira] Updated: (HADOOP-6670) UserGroupInformation doesn't support use in hash tables

     [ 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 fixes the problem and the testcases. I'm still getting a test case failure in the dist cache one.

> 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
>
>
> 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.