Zhijie Shen created YARN-1860:
---------------------------------
Summary: cancelDelegationToken should survive RM failover
Key: YARN-1860
URL: https://issues.apache.org/jira/browse/YARN-1860
Project: Hadoop YARN
Issue Type: Bug
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)