This is an automated email from the ASF dual-hosted git repository.

dkuzmenko pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/hive.git


The following commit(s) were added to refs/heads/master by this push:
     new 9b07c5c7136 HIVE-29037: Negative elapsed time logging in 
HiveSplitGenerator (#6008)
9b07c5c7136 is described below

commit 9b07c5c7136863ae1eb469e7a3c11357299d2ea1
Author: Raghav Aggarwal <[email protected]>
AuthorDate: Thu Aug 7 01:48:30 2025 +0530

    HIVE-29037: Negative elapsed time logging in HiveSplitGenerator (#6008)
---
 ql/src/java/org/apache/hadoop/hive/ql/exec/tez/HiveSplitGenerator.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/ql/src/java/org/apache/hadoop/hive/ql/exec/tez/HiveSplitGenerator.java 
b/ql/src/java/org/apache/hadoop/hive/ql/exec/tez/HiveSplitGenerator.java
index d11f135ccb3..a11417ae80f 100644
--- a/ql/src/java/org/apache/hadoop/hive/ql/exec/tez/HiveSplitGenerator.java
+++ b/ql/src/java/org/apache/hadoop/hive/ql/exec/tez/HiveSplitGenerator.java
@@ -241,7 +241,7 @@ void writeSplit(int count, MRSplitProto mrSplit, Path 
filePath) throws IOExcepti
         mrSplit.writeTo(out);
       }
       LOG.debug("Split #{} event to output path: {} written in {} ms", count, 
filePath,
-          fileWriteStarted - Time.monotonicNow());
+          Time.monotonicNow() - fileWriteStarted);
     }
 
     Path getSerializedFilePath(int index) {

Reply via email to