hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Boris Shkolnik (JIRA)" <j...@apache.org>
Subject [jira] Updated: (HADOOP-6582) Token class should have a toString, equals and hashcode method
Date Mon, 22 Feb 2010 02:54:28 GMT

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

Boris Shkolnik updated HADOOP-6582:
-----------------------------------

    Attachment: HADOOP-6582.patch

created toString - which includes 10 final charachters from id, kind and service (no password)
and eclipse generated equals and hashCode
Also modified TestToken to use them.

> Token class should have a toString, equals and hashcode method
> --------------------------------------------------------------
>
>                 Key: HADOOP-6582
>                 URL: https://issues.apache.org/jira/browse/HADOOP-6582
>             Project: Hadoop Common
>          Issue Type: Improvement
>          Components: security
>    Affects Versions: 0.22.0
>            Reporter: Devaraj Das
>            Assignee: Boris Shkolnik
>             Fix For: 0.22.0
>
>         Attachments: HADOOP-6582.patch
>
>
> The Token.toString would be helpful in logging. The equals/hashcode would be useful in
UserGroupInformation.equals (currently the reference equality checks are done), and in other
places.

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


Mime
View raw message