hive-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jxi...@apache.org
Subject [13/55] [abbrv] hive git commit: HIVE-12318 qtest failing due to NPE in logStats (Jimmmy Xiang via gates)
Date Fri, 06 Nov 2015 17:32:55 GMT
HIVE-12318 qtest failing due to NPE in logStats (Jimmmy Xiang via gates)


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

Branch: refs/heads/master-fixed
Commit: 1ad1dc8581ae3454237a2b232767e73ec6b74a83
Parents: cdbd1c8
Author: Alan Gates <gates@hortonworks.com>
Authored: Mon Nov 2 15:40:25 2015 -0800
Committer: Alan Gates <gates@hortonworks.com>
Committed: Mon Nov 2 15:40:25 2015 -0800

----------------------------------------------------------------------
 ql/src/java/org/apache/hadoop/hive/ql/exec/Operator.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hive/blob/1ad1dc85/ql/src/java/org/apache/hadoop/hive/ql/exec/Operator.java
----------------------------------------------------------------------
diff --git a/ql/src/java/org/apache/hadoop/hive/ql/exec/Operator.java b/ql/src/java/org/apache/hadoop/hive/ql/exec/Operator.java
index e2630ad..9a86a35 100644
--- a/ql/src/java/org/apache/hadoop/hive/ql/exec/Operator.java
+++ b/ql/src/java/org/apache/hadoop/hive/ql/exec/Operator.java
@@ -896,7 +896,7 @@ public abstract class Operator<T extends OperatorDesc> implements
Serializable,C
     if (isLogInfoEnabled && !statsMap.isEmpty()) {
       StringBuilder sb = new StringBuilder();
       for (Map.Entry<String, LongWritable> e : statsMap.entrySet()) {
-        sb.append(e.getKey()).append(":").append(statsMap.get(e).toString()).append(", ");
+        sb.append(e.getKey()).append(":").append(e.getValue()).append(", ");
       }
       LOG.info(sb.toString());
     }


Mime
View raw message