HDFS-9128. TestWebHdfsFileContextMainOperations and TestSWebHdfsFileContextMainOperations fail due to invalid HDFS path on Windows. Contributed by Chris Nauroth.

This commit is contained in:
Haohui Mai 2015-09-23 19:38:09 -07:00
parent 0ef7ff47d5
commit 06d1c9033e
3 changed files with 14 additions and 0 deletions

View File

@ -1390,6 +1390,10 @@ Release 2.8.0 - UNRELEASED
HDFS-9013. Deprecate NameNodeMXBean#getNNStarted in branch2 and remove from
trunk (Surendra Singh Lilhore via vinayakumarb)
HDFS-9128. TestWebHdfsFileContextMainOperations and
TestSWebHdfsFileContextMainOperations fail due to invalid HDFS path on
Windows. (Chris Nauroth via wheat9)
Release 2.7.2 - UNRELEASED
INCOMPATIBLE CHANGES

View File

@ -93,6 +93,11 @@ public static void clusterSetupAtBeginning()
}
@Override
protected FileContextTestHelper createFileContextHelper() {
return new FileContextTestHelper("/tmp/TestSWebHdfsFileContextMainOperations");
}
@Override
public URI getWebhdfsUrl() {
return webhdfsUrl;

View File

@ -61,6 +61,11 @@ public Path getDefaultWorkingDirectory() {
return defaultWorkingDirectory;
}
@Override
protected FileContextTestHelper createFileContextHelper() {
return new FileContextTestHelper("/tmp/TestWebHdfsFileContextMainOperations");
}
public URI getWebhdfsUrl() {
return webhdfsUrl;
}