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

Jian He commented on YARN-1866:
-------------------------------

This is due to RMDelegationTokenIdentifier#localServiceAddress is not yet set 
when application is renewing the local tokens on recovery.
YARN-1107 had a similar issue, where the test case didn't catch this because 
RMDelegationTokenIdentifier#localServiceAddress is a static field and once it's 
set in the first RM,  the second RM can also pick up the same value.

Upload  a patch to set the localSecretManager and service address in 
DelegationTokenRenwer#serviceInit  also.

> YARN RM fails to load state store with delegation token parsing error
> ---------------------------------------------------------------------
>
>                 Key: YARN-1866
>                 URL: https://issues.apache.org/jira/browse/YARN-1866
>             Project: Hadoop YARN
>          Issue Type: Bug
>    Affects Versions: 2.4.0
>            Reporter: Arpit Gupta
>            Assignee: Jian He
>            Priority: Blocker
>
> In our secure Nightlies we saw exceptions in the RM log where it failed to 
> parse the deletegation token.



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

Reply via email to