diff --git a/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt b/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt index 5c76a114868..3dbcea608f2 100644 --- a/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt +++ b/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt @@ -1043,6 +1043,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 diff --git a/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/fs/TestSWebHdfsFileContextMainOperations.java b/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/fs/TestSWebHdfsFileContextMainOperations.java index 874abd6c600..53513fd1504 100644 --- a/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/fs/TestSWebHdfsFileContextMainOperations.java +++ b/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/fs/TestSWebHdfsFileContextMainOperations.java @@ -93,6 +93,11 @@ public class TestSWebHdfsFileContextMainOperations } + @Override + protected FileContextTestHelper createFileContextHelper() { + return new FileContextTestHelper("/tmp/TestSWebHdfsFileContextMainOperations"); + } + @Override public URI getWebhdfsUrl() { return webhdfsUrl; diff --git a/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/fs/TestWebHdfsFileContextMainOperations.java b/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/fs/TestWebHdfsFileContextMainOperations.java index c4bf0cee921..ec91cd16679 100644 --- a/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/fs/TestWebHdfsFileContextMainOperations.java +++ b/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/fs/TestWebHdfsFileContextMainOperations.java @@ -61,6 +61,11 @@ public class TestWebHdfsFileContextMainOperations return defaultWorkingDirectory; } + @Override + protected FileContextTestHelper createFileContextHelper() { + return new FileContextTestHelper("/tmp/TestWebHdfsFileContextMainOperations"); + } + public URI getWebhdfsUrl() { return webhdfsUrl; }