Varun Saxena commented on YARN-868:

Changes made are as under :
1. Provided an additional interface Token#getServiceAddress() to get Service 
address from token.
2. Stored server address(RM's) in ApplicationClientProtocolPBClientImpl. This 
address is set in TokenPBImpl while the GetDelegationResponse is being prepared 
from ResponseProto. This would let us store the address of RM which served this 
get delegation token request.
3. As service address field exists in TokenPBImpl but not in TokenProto, made 
suitable changes in tests.

> 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

Reply via email to