[
https://issues.apache.org/jira/browse/MAPREDUCE-2780?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13081301#comment-13081301
]
Jitendra Nath Pandey commented on MAPREDUCE-2780:
-------------------------------------------------
Daryn and I discussed it at length, the conclusions were:
It is better to treat service as opaque, as in current Token API.
A convenience method to set service using InetSocketAddress is useful.
Therefore we add a method in SecurityUtil that takes a token and an
InetSocketAddress, constructs a service and sets it in the token. And the Token
API remains unchanged.
> Standardize the value of token service
> --------------------------------------
>
> Key: MAPREDUCE-2780
> URL: https://issues.apache.org/jira/browse/MAPREDUCE-2780
> Project: Hadoop Map/Reduce
> Issue Type: Sub-task
> Reporter: Daryn Sharp
> Assignee: Daryn Sharp
> Fix For: 0.20.205.0
>
> Attachments: MAPREDUCE-2780-2.patch, MAPREDUCE-2780.patch
>
>
> The token's service field must (currently) be set to "ip:port". All the
> producers of a token are independently building the service string. This
> should be done via a common method to reduce the chance of error, and to
> facilitate the field value being easily changed in the (near) future.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira