[ 
https://issues.apache.org/jira/browse/YARN-1860?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Zhijie Shen updated YARN-1860:
------------------------------

    Issue Type: Sub-task  (was: Bug)
        Parent: YARN-149

> cancelDelegationToken should survive RM failover
> ------------------------------------------------
>
>                 Key: YARN-1860
>                 URL: https://issues.apache.org/jira/browse/YARN-1860
>             Project: Hadoop YARN
>          Issue Type: Sub-task
>            Reporter: Zhijie Shen
>            Assignee: Zhijie Shen
>
> The problem of cancelDelegationToken is a bit different from that of 
> renewDelegationToken. Say when the cancel op is almost done 
> (AbstractDelegationTokenSecretManager removes the DT from its cache, and 
> RMStateStore removes it form FS/ZK), and just before returning response to 
> the client, RM failover. The new AbstractDelegationTokenSecretManager cache 
> will not have the DT, and the following cancelDelegationToken will fail at
> {code}
>     if (info == null) {
>       throw new InvalidToken("Token not found");
>     }
> {code}
> in AbstractDelegationTokenSecretManager#cancelToken



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

Reply via email to