You are viewing a plain text version of this content. The canonical link for it is here.
Posted to gitbox@hive.apache.org by GitBox <gi...@apache.org> on 2020/03/14 03:24:12 UTC

[GitHub] [hive] aasha commented on a change in pull request #949: HIVE-22990 Add file based ack for replication

aasha commented on a change in pull request #949: HIVE-22990 Add file based ack for replication
URL: https://github.com/apache/hive/pull/949#discussion_r392552323
 
 

 ##########
 File path: itests/hive-unit/src/test/java/org/apache/hadoop/hive/ql/parse/TestReplicationScenarios.java
 ##########
 @@ -2387,39 +2427,33 @@ public void testTruncateWithCM() throws IOException {
     run("INSERT INTO TABLE " + dbName + ".unptned values('" + unptn_data[0] + "')", driver);
     Tuple firstInsert = replDumpDb(dbName);
     Integer numOfEventsIns1 = Integer.valueOf(firstInsert.lastReplId) - Integer.valueOf(replDumpId);
+    // load only first insert (1 record)
+    loadAndVerify(replDbName, dbName, firstInsert.lastReplId);
 
 Review comment:
   This is because only one dump is allowed before load. It has to be alternate. Only after the load acknowledgement is present, the next dump proceeds

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: gitbox-unsubscribe@hive.apache.org
For additional commands, e-mail: gitbox-help@hive.apache.org