ArkoSharma commented on a change in pull request #2135:
URL: https://github.com/apache/hive/pull/2135#discussion_r630740615
##########
File path:
ql/src/java/org/apache/hadoop/hive/ql/parse/repl/load/log/IncrementalLoadLogger.java
##########
@@ -33,6 +33,7 @@
private String dumpDir;
private long numEvents;
private long eventSeqNo;
+ private long currentEventTimestamp;
Review comment:
The intention was to maintain the timestamp in barrier tasks. The
barrier task gets executed once all the tasks for one event finish. So the
difference between consecutive barrier-timestamps gives duration for one event
plus additional time of processing the previous barrier. In this case, the
logger (ReplStateLogTask) happens to be the barrier task so it is maintained
here.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]