[ 
https://issues.apache.org/jira/browse/HIVE-24956?focusedWorklogId=595076&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-595076
 ]

ASF GitHub Bot logged work on HIVE-24956:
-----------------------------------------

                Author: ASF GitHub Bot
            Created on: 12/May/21 05:45
            Start Date: 12/May/21 05:45
    Worklog Time Spent: 10m 
      Work Description: 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:
us...@infra.apache.org


Issue Time Tracking
-------------------

    Worklog Id:     (was: 595076)
    Time Spent: 40m  (was: 0.5h)

> Add debug logs for time taken in the incremental event processing
> -----------------------------------------------------------------
>
>                 Key: HIVE-24956
>                 URL: https://issues.apache.org/jira/browse/HIVE-24956
>             Project: Hive
>          Issue Type: Bug
>            Reporter: Arko Sharma
>            Assignee: Arko Sharma
>            Priority: Major
>              Labels: pull-request-available
>          Time Spent: 40m
>  Remaining Estimate: 0h
>




--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to