You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2022/01/30 19:22:00 UTC

[jira] [Work logged] (HIVE-25819) Track event id on target cluster with respect to source cluster

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

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

                Author: ASF GitHub Bot
            Created on: 30/Jan/22 19:21
            Start Date: 30/Jan/22 19:21
    Worklog Time Spent: 10m 
      Work Description: pkumarsinha commented on a change in pull request #2890:
URL: https://github.com/apache/hive/pull/2890#discussion_r795236846



##########
File path: ql/src/java/org/apache/hadoop/hive/ql/exec/repl/OptimisedBootstrapUtils.java
##########
@@ -87,20 +88,20 @@ public static boolean checkFileExists(Path dumpPath, HiveConf conf, String fileN
   }
 
   /**
-   * Gets the event id from the event ack file
+   * Gets the source & target event id  from the event ack file
    * @param dumpPath the dump path
    * @param conf the hive configuration
    * @return the event id from file.
    * @throws IOException
    */
-  public static String getEventIdFromFile(Path dumpPath, HiveConf conf) throws IOException {
+  public static String[] getEventIdFromFile(Path dumpPath, HiveConf conf) throws IOException {

Review comment:
       When does this return more than one value?




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

To unsubscribe, e-mail: gitbox-unsubscribe@hive.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


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

    Worklog Id:     (was: 717687)
    Time Spent: 0.5h  (was: 20m)

> Track event id on target cluster with respect to source cluster
> ---------------------------------------------------------------
>
>                 Key: HIVE-25819
>                 URL: https://issues.apache.org/jira/browse/HIVE-25819
>             Project: Hive
>          Issue Type: Sub-task
>            Reporter: Ayush Saxena
>            Assignee: Ayush Saxena
>            Priority: Major
>              Labels: pull-request-available
>          Time Spent: 0.5h
>  Remaining Estimate: 0h
>
> When loading an event on target cluster, we keep a track of event id loaded with respect to source Cluster, Keep a track of event Id with respect to target cluster as well.
> So, while coming back B->A, we can figure out from where the start dumping events.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)