hive-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From br...@apache.org
Subject svn commit: r1632136 - in /hive/trunk/ql/src: java/org/apache/hadoop/hive/ql/hooks/LineageInfo.java test/results/clientpositive/parallel.q.out
Date Wed, 15 Oct 2014 17:36:07 GMT
Author: brock
Date: Wed Oct 15 17:36:07 2014
New Revision: 1632136

URL: http://svn.apache.org/r1632136
Log:
HIVE-8362 - Investigate flaky test parallel.q (Jimmy Xiang via Brock)

Modified:
    hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/hooks/LineageInfo.java
    hive/trunk/ql/src/test/results/clientpositive/parallel.q.out

Modified: hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/hooks/LineageInfo.java
URL: http://svn.apache.org/viewvc/hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/hooks/LineageInfo.java?rev=1632136&r1=1632135&r2=1632136&view=diff
==============================================================================
--- hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/hooks/LineageInfo.java (original)
+++ hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/hooks/LineageInfo.java Wed Oct 15 17:36:07
2014
@@ -19,6 +19,7 @@
 package org.apache.hadoop.hive.ql.hooks;
 
 import java.io.Serializable;
+import java.util.Collections;
 import java.util.LinkedHashMap;
 import java.util.List;
 import java.util.Map;
@@ -396,7 +397,7 @@ public class LineageInfo implements Seri
    * Constructor.
    */
   public LineageInfo() {
-    index = new LinkedHashMap<DependencyKey, Dependency>();
+    index = Collections.synchronizedMap(new LinkedHashMap<DependencyKey, Dependency>());
   }
 
   /**

Modified: hive/trunk/ql/src/test/results/clientpositive/parallel.q.out
URL: http://svn.apache.org/viewvc/hive/trunk/ql/src/test/results/clientpositive/parallel.q.out?rev=1632136&r1=1632135&r2=1632136&view=diff
==============================================================================
--- hive/trunk/ql/src/test/results/clientpositive/parallel.q.out (original)
+++ hive/trunk/ql/src/test/results/clientpositive/parallel.q.out Wed Oct 15 17:36:07 2014
@@ -161,6 +161,7 @@ POSTHOOK: type: QUERY
 POSTHOOK: Input: default@src
 POSTHOOK: Output: default@src_a
 POSTHOOK: Output: default@src_b
+POSTHOOK: Lineage: src_a.key SIMPLE [(src)src.FieldSchema(name:key, type:string, comment:default),
]
 POSTHOOK: Lineage: src_a.value SIMPLE [(src)src.FieldSchema(name:value, type:string, comment:default),
]
 POSTHOOK: Lineage: src_b.key SIMPLE [(src)src.FieldSchema(name:key, type:string, comment:default),
]
 POSTHOOK: Lineage: src_b.value SIMPLE [(src)src.FieldSchema(name:value, type:string, comment:default),
]



Mime
View raw message