hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yongjun Zhang (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-6510) WebHdfs clients clears the delegation token on retry (for HA), thus failing retry requests
Date Tue, 10 Jun 2014 17:55:01 GMT

    [ https://issues.apache.org/jira/browse/HDFS-6510?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14026763#comment-14026763
] 

Yongjun Zhang commented on HDFS-6510:
-------------------------------------

Thanks [~wheat9]!


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

Mime
View raw message