sankarh commented on a change in pull request #628: HIVE-21731 : Hive import 
fails, post upgrade of source 3.0 cluster, to a target 4.0 cluster with strict 
managed table set to true.
URL: https://github.com/apache/hive/pull/628#discussion_r284776123
 
 

 ##########
 File path: 
ql/src/java/org/apache/hadoop/hive/ql/parse/repl/dump/events/AlterTableHandler.java
 ##########
 @@ -91,6 +92,14 @@ public void handle(Context withinContext) throws Exception {
       return;
     }
 
+    if 
(withinContext.hiveConf.getBoolVar(HiveConf.ConfVars.REPL_BOOTSTRAP_ACID_TABLES))
 {
+      if (!AcidUtils.isTransactionalTable(before) && 
AcidUtils.isTransactionalTable(after)) {
+        LOG.info("The table " + after.getTableName() + " is converted to ACID 
table." +
+                " It will be replicated with bootstrap load as 
REPL_BOOTSTRAP_ACID_TABLES is set to true.");
 
 Review comment:
   Use hive.repl.bootstrap.acid.tables instead of REPL_BOOTSTRAP_ACID_TABLES.

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


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to