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

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

                Author: ASF GitHub Bot
            Created on: 22/Jun/21 12:37
            Start Date: 22/Jun/21 12:37
    Worklog Time Spent: 10m 
      Work Description: aasha commented on a change in pull request #2356:
URL: https://github.com/apache/hive/pull/2356#discussion_r656177643



##########
File path: ql/src/java/org/apache/hadoop/hive/ql/exec/repl/ReplLoadWork.java
##########
@@ -347,6 +348,27 @@ public String getReplStats() {
     }
   }
 
+  @Override
+  public String getCurrentEventId() {
+    try {
+      if (replStatsTracker != null) {
+        return replStatsTracker.getLastEventId();
+      } else {
+        return "";
+      }
+    } catch (Exception e) {
+      return "Got Error" + e.getMessage();
+    }
+  }
+
+  @Override
+  public Long getLastEventId() {
+    if (incrementalLoadTasksBuilder != null) {
+      return incrementalLoadTasksBuilder.eventTo();
+    }
+    return -1L;

Review comment:
       this will be eventFrom for bootstrap




-- 
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]


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

    Worklog Id:     (was: 613467)
    Time Spent: 1h 40m  (was: 1.5h)

> Expose incremental load statistics via JMX
> ------------------------------------------
>
>                 Key: HIVE-25207
>                 URL: https://issues.apache.org/jira/browse/HIVE-25207
>             Project: Hive
>          Issue Type: Improvement
>            Reporter: Ayush Saxena
>            Assignee: Ayush Saxena
>            Priority: Major
>              Labels: pull-request-available
>          Time Spent: 1h 40m
>  Remaining Estimate: 0h
>
> Expose the incremental load details and statistics at per policy level in the 
> JMX.



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

Reply via email to