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