hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From viraj...@apache.org
Subject [01/50] [abbrv] hadoop git commit: HDFS-12699. TestMountTable fails with Java 7. Contributed by Inigo Goiri. [Forced Update!]
Date Sat, 04 Nov 2017 01:31:06 GMT
Repository: hadoop
Updated Branches:
  refs/heads/HDFS-9806 365edb080 -> 79f3d9a38 (forced update)


HDFS-12699. TestMountTable fails with Java 7. Contributed by Inigo Goiri.


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

Branch: refs/heads/HDFS-9806
Commit: 982bd2a5bff4c490a5d62f2e4fd0d3755305349c
Parents: d015e0b
Author: Inigo Goiri <inigoiri@apache.org>
Authored: Tue Oct 31 10:21:42 2017 -0700
Committer: Inigo Goiri <inigoiri@apache.org>
Committed: Tue Oct 31 10:21:42 2017 -0700

----------------------------------------------------------------------
 .../hdfs/server/federation/store/records/TestMountTable.java      | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hadoop/blob/982bd2a5/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/federation/store/records/TestMountTable.java
----------------------------------------------------------------------
diff --git a/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/federation/store/records/TestMountTable.java
b/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/federation/store/records/TestMountTable.java
index b6f91cf..739d2e4 100644
--- a/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/federation/store/records/TestMountTable.java
+++ b/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/federation/store/records/TestMountTable.java
@@ -22,7 +22,6 @@ import static org.junit.Assert.assertFalse;
 import static org.junit.Assert.assertTrue;
 
 import java.io.IOException;
-import java.util.HashMap;
 import java.util.LinkedHashMap;
 import java.util.LinkedList;
 import java.util.List;
@@ -113,7 +112,7 @@ public class TestMountTable {
   @Test
   public void testReadOnly() throws IOException {
 
-    Map<String, String> dest = new HashMap<>();
+    Map<String, String> dest = new LinkedHashMap<>();
     dest.put(DST_NS_0, DST_PATH_0);
     dest.put(DST_NS_1, DST_PATH_1);
     MountTable record1 = MountTable.newInstance(SRC, dest);


---------------------------------------------------------------------
To unsubscribe, e-mail: common-commits-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-commits-help@hadoop.apache.org


Mime
View raw message