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 01:36:30 UTC
[jira] Created: (HADOOP-6670) UserGroupInformation doesn't support
use in hash tables
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
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.
[jira] Commented: (HADOOP-6670) UserGroupInformation doesn't
support use in hash tables
Posted by "Hadoop QA (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-6670?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12889385#action_12889385 ]
Hadoop QA commented on HADOOP-6670:
-----------------------------------
-1 overall. Here are the results of testing the latest attachment
http://issues.apache.org/jira/secure/attachment/12449720/c6670-03.patch
against trunk revision 964939.
+1 @author. The patch does not contain any @author tags.
+1 tests included. The patch appears to include 6 new or modified tests.
-1 javadoc. The javadoc tool appears to have generated 1 warning messages.
+1 javac. The applied patch does not increase the total number of javac compiler warnings.
+1 findbugs. The patch does not introduce any new Findbugs warnings.
+1 release audit. The applied patch does not increase the total number of release audit warnings.
+1 core tests. The patch passed core unit tests.
+1 contrib tests. The patch passed contrib unit tests.
Test results: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch-h4.grid.sp2.yahoo.net/620/testReport/
Findbugs warnings: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch-h4.grid.sp2.yahoo.net/620/artifact/trunk/build/test/findbugs/newPatchFindbugsWarnings.html
Checkstyle results: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch-h4.grid.sp2.yahoo.net/620/artifact/trunk/build/test/checkstyle-errors.html
Console output: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch-h4.grid.sp2.yahoo.net/620/console
This message is automatically generated.
> 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: 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.
[jira] Commented: (HADOOP-6670) UserGroupInformation doesn't
support use in hash tables
Posted by "Hadoop QA (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-6670?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12887555#action_12887555 ]
Hadoop QA commented on HADOOP-6670:
-----------------------------------
-1 overall. Here are the results of testing the latest attachment
http://issues.apache.org/jira/secure/attachment/12449172/c6670-02.patch
against trunk revision 963490.
+1 @author. The patch does not contain any @author tags.
+1 tests included. The patch appears to include 6 new or modified tests.
-1 javadoc. The javadoc tool appears to have generated 1 warning messages.
+1 javac. The applied patch does not increase the total number of javac compiler warnings.
+1 findbugs. The patch does not introduce any new Findbugs warnings.
+1 release audit. The applied patch does not increase the total number of release audit warnings.
+1 core tests. The patch passed core unit tests.
+1 contrib tests. The patch passed contrib unit tests.
Test results: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch-h4.grid.sp2.yahoo.net/609/testReport/
Findbugs warnings: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch-h4.grid.sp2.yahoo.net/609/artifact/trunk/build/test/findbugs/newPatchFindbugsWarnings.html
Checkstyle results: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch-h4.grid.sp2.yahoo.net/609/artifact/trunk/build/test/checkstyle-errors.html
Console output: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch-h4.grid.sp2.yahoo.net/609/console
This message is automatically generated.
> 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: 6670-gridmix-test.bugfix.patch, c6670-02.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.
[jira] Updated: (HADOOP-6670) UserGroupInformation doesn't support
use in hash tables
Posted by "Kan Zhang (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-6670?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Kan Zhang updated HADOOP-6670:
------------------------------
Attachment: c6670-02.patch
Attaching a straight-forward port for trunk. Changes made to TestFileSystem in the original patch is now applied to TestFileSystemCaching. Changes made to FileSystem.java are ignored since only debug messages were added. Changes made to TestTrackerDistributedCacheManager are also ignored for the same reason. Devaraj's bug fix for Gridmix is not ported at this time since related Gridmix files are not forward ported yet. It's better to incorporate the bug fix when porting Gridmix.
> 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: 6670-gridmix-test.bugfix.patch, c6670-02.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.
[jira] Updated: (HADOOP-6670) UserGroupInformation doesn't support
use in hash tables
Posted by "Kan Zhang (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-6670?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Kan Zhang updated HADOOP-6670:
------------------------------
Status: Patch Available (was: Open)
> 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: 6670-gridmix-test.bugfix.patch, c6670-02.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.
[jira] Updated: (HADOOP-6670) UserGroupInformation doesn't support
use in hash tables
Posted by "Owen O'Malley (JIRA)" <ji...@apache.org>.
[ 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.
[jira] Updated: (HADOOP-6670) UserGroupInformation doesn't support
use in hash tables
Posted by "Devaraj Das (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-6670?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Devaraj Das updated HADOOP-6670:
--------------------------------
Attachment: 6670-gridmix-test.bugfix.patch
Fixes a testcase that got affected by the UGI changes in hashcode/equals methods.
> 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: 6670-gridmix-test.bugfix.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.
[jira] Updated: (HADOOP-6670) UserGroupInformation doesn't support
use in hash tables
Posted by "Kan Zhang (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-6670?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Kan Zhang updated HADOOP-6670:
------------------------------
Status: Open (was: Patch Available)
> 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: 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.
[jira] Commented: (HADOOP-6670) UserGroupInformation doesn't
support use in hash tables
Posted by "Hudson (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-6670?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12889451#action_12889451 ]
Hudson commented on HADOOP-6670:
--------------------------------
Integrated in Hadoop-Common-trunk-Commit #329 (See [http://hudson.zones.apache.org/hudson/job/Hadoop-Common-trunk-Commit/329/])
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.
[jira] Commented: (HADOOP-6670) UserGroupInformation doesn't
support use in hash tables
Posted by "Jitendra Nath Pandey (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-6670?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12888513#action_12888513 ]
Jitendra Nath Pandey commented on HADOOP-6670:
----------------------------------------------
In TestUserGroupInformation.java there is a repeated check for equality of two UGIs with same subject which can be removed.
> 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: 6670-gridmix-test.bugfix.patch, c6670-02.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.
[jira] Commented: (HADOOP-6670) UserGroupInformation doesn't
support use in hash tables
Posted by "Kan Zhang (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-6670?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12887588#action_12887588 ]
Kan Zhang commented on HADOOP-6670:
-----------------------------------
The javadoc warnings are due to KerberosName.java and SecurityUtil.java, and not related to this patch.
> 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: 6670-gridmix-test.bugfix.patch, c6670-02.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.
[jira] Updated: (HADOOP-6670) UserGroupInformation doesn't support
use in hash tables
Posted by "Kan Zhang (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-6670?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Kan Zhang updated HADOOP-6670:
------------------------------
Status: Patch Available (was: Open)
> 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: 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.
[jira] Commented: (HADOOP-6670) UserGroupInformation doesn't
support use in hash tables
Posted by "Hudson (JIRA)" <ji...@apache.org>.
[ 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.
[jira] Updated: (HADOOP-6670) UserGroupInformation doesn't support
use in hash tables
Posted by "Owen O'Malley (JIRA)" <ji...@apache.org>.
[ 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 is the updated patch for y20. Not for inclusion.
> 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, 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.
[jira] Updated: (HADOOP-6670) UserGroupInformation doesn't support
use in hash tables
Posted by "Kan Zhang (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-6670?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Kan Zhang updated HADOOP-6670:
------------------------------
Attachment: c6670-03.patch
Attaching a new patch that removes the redundant checking in test per Jitendra's comment. Otherwise, it stays the same.
> 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: 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.
[jira] Updated: (HADOOP-6670) UserGroupInformation doesn't support
use in hash tables
Posted by "Kan Zhang (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-6670?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Kan Zhang updated HADOOP-6670:
------------------------------
Status: Open (was: Patch Available)
> 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: 6670-gridmix-test.bugfix.patch, c6670-02.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.
[jira] Updated: (HADOOP-6670) UserGroupInformation doesn't support
use in hash tables
Posted by "Kan Zhang (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-6670?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Kan Zhang updated HADOOP-6670:
------------------------------
Status: Patch Available (was: Open)
> 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: 6670-gridmix-test.bugfix.patch, c6670-02.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.
[jira] Updated: (HADOOP-6670) UserGroupInformation doesn't support
use in hash tables
Posted by "Owen O'Malley (JIRA)" <ji...@apache.org>.
[ 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.
[jira] Updated: (HADOOP-6670) UserGroupInformation doesn't support
use in hash tables
Posted by "Devaraj Das (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-6670?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Devaraj Das updated HADOOP-6670:
--------------------------------
Status: Resolved (was: Patch Available)
Fix Version/s: 0.22.0
Resolution: Fixed
I just committed this. Thanks, Owen and Kan!
> 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.