You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-issues@hadoop.apache.org by "Haohui Mai (JIRA)" <ji...@apache.org> on 2014/06/10 19:15:03 UTC

[jira] [Commented] (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:comment-tabpanel&focusedCommentId=14026694#comment-14026694 ] 

Haohui Mai commented on HDFS-6510:
----------------------------------

This should be a duplicate of HDFS-6312.

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