[
https://issues.apache.org/jira/browse/HIVE-22990?focusedWorklogId=403340&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-403340
]
ASF GitHub Bot logged work on HIVE-22990:
-----------------------------------------
Author: ASF GitHub Bot
Created on: 14/Mar/20 03:24
Start Date: 14/Mar/20 03:24
Worklog Time Spent: 10m
Work Description: aasha commented on pull request #949: HIVE-22990 Add
file based ack for replication
URL: https://github.com/apache/hive/pull/949#discussion_r392552335
##########
File path:
itests/hive-unit/src/test/java/org/apache/hadoop/hive/ql/parse/TestReplicationScenarios.java
##########
@@ -2447,48 +2478,48 @@ public void
testIncrementalRepeatEventOnExistingObject() throws IOException, Int
// INSERT EVENT to unpartitioned table
run("INSERT INTO TABLE " + dbName + ".unptned values('" + unptn_data[0] +
"')", driver);
Tuple replDump = replDumpDb(dbName);
- incrementalDumpList.add(replDump);
Thread.sleep(1000);
// INSERT EVENT to partitioned table with dynamic ADD_PARTITION
run("INSERT INTO TABLE " + dbName + ".ptned PARTITION(b=1) values('" +
ptn_data_1[0] + "')", driver);
+ //Second dump without load will print a warning
+ run("REPL DUMP " + dbName, driverMirror);
+ //Load the previous dump first
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:
[email protected]
Issue Time Tracking
-------------------
Worklog Id: (was: 403340)
Time Spent: 1h 40m (was: 1.5h)
> Build acknowledgement mechanism for repl dump and load
> ------------------------------------------------------
>
> Key: HIVE-22990
> URL: https://issues.apache.org/jira/browse/HIVE-22990
> Project: Hive
> Issue Type: Bug
> Reporter: Aasha Medhi
> Assignee: Aasha Medhi
> Priority: Major
> Labels: pull-request-available
> Attachments: HIVE-22990.01.patch, HIVE-22990.02.patch,
> HIVE-22990.03.patch, HIVE-22990.04.patch, HIVE-22990.05.patch,
> HIVE-22990.06.patch, HIVE-22990.07.patch, HIVE-22990.08.patch,
> HIVE-22990.09.patch, HIVE-22990.10.patch, HIVE-22990.11.patch,
> HIVE-22990.12.patch, HIVE-22990.13.patch, HIVE-22990.patch
>
> Time Spent: 1h 40m
> Remaining Estimate: 0h
>
--
This message was sent by Atlassian Jira
(v8.3.4#803005)