hadoop-hdfs-dev mailing list archives

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

             Summary: 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