[
https://issues.apache.org/jira/browse/HADOOP-7510?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13114710#comment-13114710
]
Daryn Sharp commented on HADOOP-7510:
-------------------------------------
I'm going through all the thoughtful comments, but I'd like to clarify this one
in particular since it's been mentioned a few times:
bq. getCanonicalServiceName() is poorly named and we are tightly coupling token
semantics with it. I know this is backward incompatible, but given that you
have change the semantics to return token service name
This patch does not change the semantics of {{getCanonicalServiceName}}. It
always returned a token service until HADOOP-7661. Jitendra's altered the
semantics to sometimes return a service, sometimes return a uri. This patch
was updated to change it back.
> Tokens should use original hostname provided instead of ip
> ----------------------------------------------------------
>
> Key: HADOOP-7510
> URL: https://issues.apache.org/jira/browse/HADOOP-7510
> Project: Hadoop Common
> Issue Type: Improvement
> Components: security
> Reporter: Daryn Sharp
> Assignee: Daryn Sharp
> Fix For: 0.20.205.0
>
> Attachments: HADOOP-7510-10.patch, HADOOP-7510-2.patch,
> HADOOP-7510-3.patch, HADOOP-7510-4.patch, HADOOP-7510-5.patch,
> HADOOP-7510-6.patch, HADOOP-7510-8.patch, HADOOP-7510-9.patch,
> HADOOP-7510.patch
>
>
> Tokens currently store the ip:port of the remote server. This precludes
> tokens from being used after a host's ip is changed. Tokens should store the
> hostname used to make the RPC connection. This will enable new processes to
> use their existing tokens.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira