Repository: hadoop Updated Branches: refs/heads/branch-2 75c70339a -> 3d8f6b9d4
HDFS-9128. TestWebHdfsFileContextMainOperations and TestSWebHdfsFileContextMainOperations fail due to invalid HDFS path on Windows. Contributed by Chris Nauroth. Project: http://git-wip-us.apache.org/repos/asf/hadoop/repo Commit: http://git-wip-us.apache.org/repos/asf/hadoop/commit/3d8f6b9d Tree: http://git-wip-us.apache.org/repos/asf/hadoop/tree/3d8f6b9d Diff: http://git-wip-us.apache.org/repos/asf/hadoop/diff/3d8f6b9d Branch: refs/heads/branch-2 Commit: 3d8f6b9d4863bb866807ec5363b018a405e7b01f Parents: 75c7033 Author: Haohui Mai <[email protected]> Authored: Wed Sep 23 19:38:09 2015 -0700 Committer: Haohui Mai <[email protected]> Committed: Wed Sep 23 19:38:21 2015 -0700 ---------------------------------------------------------------------- hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt | 4 ++++ .../apache/hadoop/fs/TestSWebHdfsFileContextMainOperations.java | 5 +++++ .../apache/hadoop/fs/TestWebHdfsFileContextMainOperations.java | 5 +++++ 3 files changed, 14 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/hadoop/blob/3d8f6b9d/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt ---------------------------------------------------------------------- diff --git a/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt b/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt index 5c76a11..3dbcea6 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 http://git-wip-us.apache.org/repos/asf/hadoop/blob/3d8f6b9d/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/fs/TestSWebHdfsFileContextMainOperations.java ---------------------------------------------------------------------- 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 874abd6..53513fd 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 @@ -94,6 +94,11 @@ public class TestSWebHdfsFileContextMainOperations } @Override + protected FileContextTestHelper createFileContextHelper() { + return new FileContextTestHelper("/tmp/TestSWebHdfsFileContextMainOperations"); + } + + @Override public URI getWebhdfsUrl() { return webhdfsUrl; } http://git-wip-us.apache.org/repos/asf/hadoop/blob/3d8f6b9d/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/fs/TestWebHdfsFileContextMainOperations.java ---------------------------------------------------------------------- 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 c4bf0ce..ec91cd1 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; }
