Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Duplicate
-
2.4.0
-
None
-
None
-
None
Description
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.
Attachments
Issue Links
- duplicates
-
HDFS-6312 WebHdfs HA failover is broken on secure clusters
- Closed