hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Zhijie Shen (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (YARN-1860) cancelDelegationToken should survive RM failover
Date Fri, 21 Mar 2014 00:03:44 GMT

     [ 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)

Mime
View raw message