Index: serde/src/test/org/apache/hadoop/hive/serde2/dynamic_type/TestDynamicSerDe.java =================================================================== --- serde/src/test/org/apache/hadoop/hive/serde2/dynamic_type/TestDynamicSerDe.java (revision 1399739) +++ serde/src/test/org/apache/hadoop/hive/serde2/dynamic_type/TestDynamicSerDe.java (working copy) @@ -19,6 +19,7 @@ import java.util.ArrayList; import java.util.HashMap; +import java.util.TreeMap; import java.util.List; import java.util.Map; import java.util.Properties; @@ -408,7 +409,7 @@ ArrayList bye = new ArrayList(); bye.add("firstString"); bye.add("secondString"); - HashMap another = new HashMap(); + TreeMap another = new TreeMap(); another.put("firstKey", 1); another.put("secondKey", 2); ArrayList struct = new ArrayList(); @@ -781,7 +782,7 @@ ArrayList bye = new ArrayList(); bye.add("firstString"); bye.add("secondString"); - HashMap another = new HashMap(); + TreeMap another = new TreeMap(); another.put("firstKey", 1); another.put("secondKey", 2); ArrayList struct = new ArrayList();