pvary commented on code in PR #3346:
URL: https://github.com/apache/hive/pull/3346#discussion_r892267327
##########
ql/src/java/org/apache/hadoop/hive/ql/exec/repl/ReplLoadTask.java:
##########
@@ -825,4 +836,15 @@ private int executeIncrementalLoad(long loadStartTime)
throws Exception {
LOG.info("REPL_INCREMENTAL_LOAD stage duration : {} ms", currentTimestamp
- loadStartTime);
return 0;
}
+
+ private Database getSourceDbMetadata() throws IOException, SemanticException
{
+ Path dbMetadata = new Path(work.dumpDirectory,
EximUtil.METADATA_PATH_NAME);
+ BootstrapEventsIterator itr = new
BootstrapEventsIterator(dbMetadata.toString(), work.dbNameToLoadIn,
+ true, conf, work.getMetricCollector());
+ assert itr.hasNext();
Review Comment:
Are we ok with the fact, that the `assert` commands are not executed in
production env? Do we want checks there which would make the replication fail?
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]