hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From a..@apache.org
Subject [1/3] hadoop git commit: HDFS-7948. TestDataNodeHotSwapVolumes#testAddVolumeFailures failed on Windows. (Contributed by Xiaoyu Yao)
Date Wed, 18 Mar 2015 19:26:56 GMT
Repository: hadoop
Updated Branches:
  refs/heads/branch-2 b547e6d6e -> a08b1b570
  refs/heads/branch-2.7 5293ae031 -> 8944bb3d2
  refs/heads/trunk 402817cd9 -> fdd58aa32


HDFS-7948. TestDataNodeHotSwapVolumes#testAddVolumeFailures failed on Windows. (Contributed
by Xiaoyu Yao)


Project: http://git-wip-us.apache.org/repos/asf/hadoop/repo
Commit: http://git-wip-us.apache.org/repos/asf/hadoop/commit/fdd58aa3
Tree: http://git-wip-us.apache.org/repos/asf/hadoop/tree/fdd58aa3
Diff: http://git-wip-us.apache.org/repos/asf/hadoop/diff/fdd58aa3

Branch: refs/heads/trunk
Commit: fdd58aa32f3e007b9e8bebe655b4c05e39b63110
Parents: 402817c
Author: Arpit Agarwal <arp@apache.org>
Authored: Wed Mar 18 12:26:00 2015 -0700
Committer: Arpit Agarwal <arp@apache.org>
Committed: Wed Mar 18 12:26:00 2015 -0700

----------------------------------------------------------------------
 hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt                       | 3 +++
 .../hadoop/hdfs/server/datanode/TestDataNodeHotSwapVolumes.java   | 2 +-
 2 files changed, 4 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hadoop/blob/fdd58aa3/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 4cc976c..70d6cde 100644
--- a/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
+++ b/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
@@ -1175,6 +1175,9 @@ Release 2.7.0 - UNRELEASED
     HDFS-7953. NN Web UI fails to navigate to paths that contain #.
     (kanaka kumar avvaru via wheat9)
 
+    HDFS-7948. TestDataNodeHotSwapVolumes#testAddVolumeFailures failed on
+    Windows. (Xiaoyu Yao via Arpit Agarwal)
+
     BREAKDOWN OF HDFS-7584 SUBTASKS AND RELATED JIRAS
 
       HDFS-7720. Quota by Storage Type API, tools and ClientNameNode

http://git-wip-us.apache.org/repos/asf/hadoop/blob/fdd58aa3/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/datanode/TestDataNodeHotSwapVolumes.java
----------------------------------------------------------------------
diff --git a/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/datanode/TestDataNodeHotSwapVolumes.java
b/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/datanode/TestDataNodeHotSwapVolumes.java
index 466598b..8ab3dd2 100644
--- a/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/datanode/TestDataNodeHotSwapVolumes.java
+++ b/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/datanode/TestDataNodeHotSwapVolumes.java
@@ -521,7 +521,7 @@ public class TestDataNodeHotSwapVolumes {
         dn.getConf().get(DFS_DATANODE_DATA_DIR_KEY).split(",");
     assertEquals(4, effectiveVolumes.length);
     for (String ev : effectiveVolumes) {
-      assertThat(new File(ev).getCanonicalPath(),
+      assertThat(StorageLocation.parse(ev).getFile().getCanonicalPath(),
           is(not(anyOf(is(newDirs.get(0)), is(newDirs.get(2))))));
     }
   }


Mime
View raw message