hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From whe...@apache.org
Subject hadoop git commit: HDFS-9128. TestWebHdfsFileContextMainOperations and TestSWebHdfsFileContextMainOperations fail due to invalid HDFS path on Windows. Contributed by Chris Nauroth.
Date Thu, 24 Sep 2015 02:40:04 GMT
Repository: hadoop
Updated Branches:
  refs/heads/trunk 0ef7ff47d -> 06d1c9033


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/06d1c903
Tree: http://git-wip-us.apache.org/repos/asf/hadoop/tree/06d1c903
Diff: http://git-wip-us.apache.org/repos/asf/hadoop/diff/06d1c903

Branch: refs/heads/trunk
Commit: 06d1c9033effcd2b1ea54e87229d5478d85732ca
Parents: 0ef7ff4
Author: Haohui Mai <wheat9@apache.org>
Authored: Wed Sep 23 19:38:09 2015 -0700
Committer: Haohui Mai <wheat9@apache.org>
Committed: Wed Sep 23 19:38:09 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/06d1c903/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 34adbf0..aaa37e7 100644
--- a/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
+++ b/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
@@ -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

http://git-wip-us.apache.org/repos/asf/hadoop/blob/06d1c903/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/06d1c903/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;
   }


Mime
View raw message