maheshk114 commented on a change in pull request #722: HIVE-21956 : Add the
list of table selected by dump in the dump folder.
URL: https://github.com/apache/hive/pull/722#discussion_r303291352
##########
File path: ql/src/java/org/apache/hadoop/hive/ql/exec/repl/ReplDumpTask.java
##########
@@ -376,13 +405,68 @@ private ReplicationSpec
getNewEventOnlyReplicationSpec(Long eventId) {
return rspec;
}
- Long bootStrapDump(Path dumpRoot, DumpMetaData dmd, Path cmRoot, Hive
hiveDb) throws Exception {
+ private void dumpTableListToDumpLocation(List<String> tableList, Path
dbRoot, String dbName, boolean isIncLoad,
+ HiveConf hiveConf) throws
IOException, LoginException {
+ // Empty list will create an empty file to distinguish it from db level
replication. If no file is there, that means
+ // db level replication. If empty file is there, means no table satisfies
the policy.
+ if (tableList == null) {
Review comment:
empty list will create a file with no table name
----------------------------------------------------------------
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]