HDFS-9196. Fix TestWebHdfsContentLength. Contributed by Masatake Iwasaki.

This commit is contained in:
Jing Zhao 2015-10-06 23:54:49 -07:00
parent 8e53311ca2
commit 239d119c67
2 changed files with 3 additions and 1 deletions

View File

@ -212,7 +212,7 @@ public class WebHdfsFileSystem extends FileSystem
failoverSleepMaxMillis);
}
this.workingDir = makeQualified(getHomeDirectory());
this.workingDir = makeQualified(new Path(getHomeDirectoryString(ugi)));
this.canRefreshDelegationToken = UserGroupInformation.isSecurityEnabled();
this.disallowFallbackToInsecureCluster = !conf.getBoolean(
CommonConfigurationKeys.IPC_CLIENT_FALLBACK_TO_SIMPLE_AUTH_ALLOWED_KEY,

View File

@ -1967,6 +1967,8 @@ Release 2.8.0 - UNRELEASED
HDFS-7899. Improve EOF error message (Jagadesh Kiran N via vinayakumarb)
HDFS-9196. Fix TestWebHdfsContentLength. (Masatake Iwasaki via jing9)
Release 2.7.2 - UNRELEASED
INCOMPATIBLE CHANGES