You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-dev@hadoop.apache.org by "Yongjun Zhang (JIRA)" <ji...@apache.org> on 2014/06/20 06:51:25 UTC
[jira] [Resolved] (HDFS-6510) WebHdfs clients clears the delegation
token on retry (for HA), thus failing retry requests
[ https://issues.apache.org/jira/browse/HDFS-6510?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Yongjun Zhang resolved HDFS-6510.
---------------------------------
Resolution: Duplicate
> WebHdfs clients clears the delegation token on retry (for HA), thus failing retry requests
> ------------------------------------------------------------------------------------------
>
> Key: HDFS-6510
> URL: https://issues.apache.org/jira/browse/HDFS-6510
> Project: Hadoop HDFS
> Issue Type: Bug
> Affects Versions: 2.4.0
> Reporter: Yongjun Zhang
> Assignee: Yongjun Zhang
>
> In WebHdfs clients connected to a HA HDFS service, when a failure (that is inferred as a failover) happens and retry is attempted, the delegation token previously initialized is cleared. For token based auth, this causes all the subsequent retries to fail due to auth errors.
> See "delegationToken = null" in method WebHdfsFileSystem.resetStateToFailOver.
> This issue would not only show up on failover, but happens more commonly when the first NN specified in the config is not reachable.
--
This message was sent by Atlassian JIRA
(v6.2#6252)