HDFS-6312. WebHdfs HA failover is broken on secure clusters. (daryn via tucu)

git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/branch-2@1604046 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Alejandro Abdelnur 2014-06-19 23:07:09 +00:00
parent ff2886e909
commit de63c98853
2 changed files with 3 additions and 2 deletions

View File

@ -490,6 +490,9 @@ Release 2.5.0 - UNRELEASED
HDFS-6492. Support create-time xattrs and atomically setting multiple HDFS-6492. Support create-time xattrs and atomically setting multiple
xattrs. (wang) xattrs. (wang)
HDFS-6312. WebHdfs HA failover is broken on secure clusters.
(daryn via tucu)
Release 2.4.1 - 2014-06-23 Release 2.4.1 - 2014-06-23
INCOMPATIBLE CHANGES INCOMPATIBLE CHANGES

View File

@ -344,8 +344,6 @@ public class WebHdfsFileSystem extends FileSystem
*/ */
private synchronized void resetStateToFailOver() { private synchronized void resetStateToFailOver() {
currentNNAddrIndex = (currentNNAddrIndex + 1) % nnAddrs.length; currentNNAddrIndex = (currentNNAddrIndex + 1) % nnAddrs.length;
delegationToken = null;
tokenAspect.reset();
} }
/** /**