hive-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From prasan...@apache.org
Subject hive git commit: HIVE-16436: Response times in 'Task Execution Summary' at the end of the job is not correct (Rajesh Balamohan reviewed by Gopal V)
Date Fri, 14 Apr 2017 04:29:54 GMT
Repository: hive
Updated Branches:
  refs/heads/master 065469eda -> 794cfa35a


HIVE-16436: Response times in 'Task Execution Summary' at the end of the job is not correct
(Rajesh Balamohan reviewed by Gopal V)


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

Branch: refs/heads/master
Commit: 794cfa35aad253bfa62165efb91fa46b7a23feca
Parents: 065469e
Author: Prasanth Jayachandran <prasanthj@apache.org>
Authored: Thu Apr 13 21:29:09 2017 -0700
Committer: Prasanth Jayachandran <prasanthj@apache.org>
Committed: Thu Apr 13 21:29:09 2017 -0700

----------------------------------------------------------------------
 .../hadoop/hive/ql/exec/tez/monitoring/RenderStrategy.java       | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hive/blob/794cfa35/ql/src/java/org/apache/hadoop/hive/ql/exec/tez/monitoring/RenderStrategy.java
----------------------------------------------------------------------
diff --git a/ql/src/java/org/apache/hadoop/hive/ql/exec/tez/monitoring/RenderStrategy.java
b/ql/src/java/org/apache/hadoop/hive/ql/exec/tez/monitoring/RenderStrategy.java
index 2535b10..52d50e5 100644
--- a/ql/src/java/org/apache/hadoop/hive/ql/exec/tez/monitoring/RenderStrategy.java
+++ b/ql/src/java/org/apache/hadoop/hive/ql/exec/tez/monitoring/RenderStrategy.java
@@ -79,7 +79,9 @@ class RenderStrategy {
               perfLogger.PerfLogBegin(TezJobMonitor.CLASS_NAME, PerfLogger.TEZ_RUN_VERTEX
+ s);
             }
 
-            perfLogger.PerfLogEnd(TezJobMonitor.CLASS_NAME, PerfLogger.TEZ_RUN_VERTEX + s);
+            if (!perfLogger.endTimeHasMethod(PerfLogger.TEZ_RUN_VERTEX + s)) {
+              perfLogger.PerfLogEnd(TezJobMonitor.CLASS_NAME, PerfLogger.TEZ_RUN_VERTEX +
s);
+            }
           }
           if (complete < total && (complete > 0 || running > 0 || failed
> 0)) {
 


Mime
View raw message