[ 
https://issues.apache.org/jira/browse/YARN-868?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14095628#comment-14095628
 ] 

Varun Saxena commented on YARN-868:
-----------------------------------

Another approach to resolve it could have been as under :
1. Make changes in TokenProto as well and return service address from 
Server(RM). But as TokenProto is defined in hadoop-common and used across 
projects, didnt make this change.  
2. Token is also part of requests, ideally we should have a separate class for 
Response flow, containing Token and Service Address. But this would break the 
interface YarnClient#getRMDelegationToken, hence didnt make this change either.

> YarnClient should set the service address in tokens returned by 
> getRMDelegationToken()
> --------------------------------------------------------------------------------------
>
>                 Key: YARN-868
>                 URL: https://issues.apache.org/jira/browse/YARN-868
>             Project: Hadoop YARN
>          Issue Type: Bug
>            Reporter: Hitesh Shah
>            Assignee: Varun Saxena
>         Attachments: YARN-868.patch
>
>
> Either the client should set this information into the token or the client 
> layer should expose an api that returns the service address.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to