You are viewing a plain text version of this content. The canonical link for it is here.
Posted to yarn-issues@hadoop.apache.org by "Daryn Sharp (JIRA)" <ji...@apache.org> on 2015/01/27 15:13:35 UTC

[jira] [Commented] (YARN-2971) RM uses conf instead of token service address to renew timeline delegation tokens

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

Daryn Sharp commented on YARN-2971:
-----------------------------------

I think it's because the job cannot assume that the timeline server matches the cluster's config.  I think the patch looks fine other than it should be using {{SecurityUtil.getTokenServiceAddr}} instead of directly accessing the token service.

> RM uses conf instead of token service address to renew timeline delegation tokens
> ---------------------------------------------------------------------------------
>
>                 Key: YARN-2971
>                 URL: https://issues.apache.org/jira/browse/YARN-2971
>             Project: Hadoop YARN
>          Issue Type: Sub-task
>          Components: timelineserver
>    Affects Versions: 2.6.0
>            Reporter: Jonathan Eagles
>            Assignee: Jonathan Eagles
>         Attachments: YARN-2971-v1.patch
>
>
> The TimelineClientImpl renewDelegationToken uses the incorrect webaddress to renew Timeline DelegationTokens. It should read the service address out of the token to renew the delegation token.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)