hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <>
Subject [jira] [Work logged] (HIVE-21529) Hive support bootstrap of ACID/MM tables on an existing policy.
Date Mon, 15 Apr 2019 09:45:00 GMT


ASF GitHub Bot logged work on HIVE-21529:

                Author: ASF GitHub Bot
            Created on: 15/Apr/19 09:44
            Start Date: 15/Apr/19 09:44
    Worklog Time Spent: 10m 
      Work Description: ashutosh-bapat commented on pull request #581: HIVE-21529 : Bootstrap
ACID tables as part of incremental dump.

 File path: ql/src/java/org/apache/hadoop/hive/ql/parse/repl/dump/events/
 @@ -107,12 +107,33 @@ public void handle(Context withinContext) throws Exception {
     if (!withinContext.hiveConf.getBoolVar(HiveConf.ConfVars.REPL_DUMP_METADATA_ONLY)) {
+      boolean replicatingAcidEvents = true;
+      if (withinContext.hiveConf.getBoolVar(HiveConf.ConfVars.REPL_BOOTSTRAP_ACID_TABLES))
+        // We do not dump ACID table related events when taking a bootstrap dump of ACID
tables as
+        // part of an incremental dump. So we shouldn't be dumping any changes to ACID table
+        // part of the commit. At the same time we need to dump the commit transaction event
+        // that replication can end a transaction opened when replaying open transaction
+"writeEventsInfoList will be removed from commit message because we are
" +
 Review comment:
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:

Issue Time Tracking

    Worklog Id:     (was: 227565)
    Time Spent: 6h 10m  (was: 6h)

> Hive support bootstrap of ACID/MM tables on an existing policy.
> ---------------------------------------------------------------
>                 Key: HIVE-21529
>                 URL:
>             Project: Hive
>          Issue Type: Sub-task
>          Components: repl, Transactions
>    Affects Versions: 4.0.0
>            Reporter: Sankar Hariappan
>            Assignee: Ashutosh Bapat
>            Priority: Major
>              Labels: DR, pull-request-available, replication
>         Attachments: HIVE-21529.01.patch, HIVE-21529.02.patch, HIVE-21529.03.patch
>          Time Spent: 6h 10m
>  Remaining Estimate: 0h
> If ACID/MM tables to be enabled (hive.repl.dump.include.acid.tables) on an existing repl
policy, then need to combine bootstrap dump of these tables along with the ongoing incremental
>  Shall add a one time config "hive.repl.bootstrap.acid.tables" to include bootstrap in
the given dump.
> TheĀ support for hive.repl.bootstrap.cleanup.type for ACID tables to clean-up partially
bootstrapped tables in case of retry is already in place, thanks to the work done during external
tables. Need to test that it actually works.

This message was sent by Atlassian JIRA

View raw message