[ https://issues.apache.org/jira/browse/HIVE-21762?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16856167#comment-16856167 ]
Hive QA commented on HIVE-21762: -------------------------------- Here are the results of testing the latest attachment: https://issues.apache.org/jira/secure/attachment/12970844/HIVE-21762.01.patch {color:green}SUCCESS:{color} +1 due to 2 test(s) being added or modified. {color:red}ERROR:{color} -1 due to 11 failed/errored test(s), 16078 tests executed *Failed tests:* {noformat} TestTableLevelReplicationScenarios - did not produce a TEST-*.xml file (likely timed out) (batchId=257) org.apache.hadoop.hive.ql.parse.TestReplicationSemanticAnalyzer$ReplDump.parseFromEventId (batchId=313) org.apache.hadoop.hive.ql.parse.TestReplicationSemanticAnalyzer$ReplDump.parseLimit (batchId=313) org.apache.hadoop.hive.ql.parse.TestReplicationSemanticAnalyzer$ReplDump.parseTableName (batchId=313) org.apache.hadoop.hive.ql.parse.TestReplicationSemanticAnalyzer$ReplDump.parseToEventId (batchId=313) org.apache.hadoop.hive.ql.parse.TestReplicationSemanticAnalyzer$ReplDumpWithClause.parseFromEventId (batchId=313) org.apache.hadoop.hive.ql.parse.TestReplicationSemanticAnalyzer$ReplDumpWithClause.parseLimit (batchId=313) org.apache.hadoop.hive.ql.parse.TestReplicationSemanticAnalyzer$ReplDumpWithClause.parseTableName (batchId=313) org.apache.hadoop.hive.ql.parse.TestReplicationSemanticAnalyzer$ReplDumpWithClause.parseToEventId (batchId=313) org.apache.hadoop.hive.ql.parse.TestReplicationWithTableMigrationEx.testTableLevelDumpMigration (batchId=265) org.apache.hadoop.hive.ql.security.authorization.plugin.TestHiveAuthorizerCheckInvocation.testReplDump (batchId=267) {noformat} Test results: https://builds.apache.org/job/PreCommit-HIVE-Build/17420/testReport Console output: https://builds.apache.org/job/PreCommit-HIVE-Build/17420/console Test logs: http://104.198.109.242/logs/PreCommit-HIVE-Build-17420/ Messages: {noformat} Executing org.apache.hive.ptest.execution.TestCheckPhase Executing org.apache.hive.ptest.execution.PrepPhase Executing org.apache.hive.ptest.execution.YetusPhase Executing org.apache.hive.ptest.execution.ExecutionPhase Executing org.apache.hive.ptest.execution.ReportingPhase Tests exited with: TestsFailedException: 11 tests failed {noformat} This message is automatically generated. ATTACHMENT ID: 12970844 - PreCommit-HIVE-Build > REPL DUMP to support new format for replication policy input to take included > tables list. > ------------------------------------------------------------------------------------------ > > Key: HIVE-21762 > URL: https://issues.apache.org/jira/browse/HIVE-21762 > Project: Hive > Issue Type: Sub-task > Components: repl > Reporter: Sankar Hariappan > Assignee: Sankar Hariappan > Priority: Major > Labels: DR, Replication > Attachments: HIVE-21762.01.patch > > > - REPL DUMP syntax: > {code} > REPL DUMP <repl_policy> [FROM <last_repl_id> WITH <key_values_list>; > {code} > - New format for the Replication policy have 3 parts all separated with Dot > (.). > 1. First part is DB name. > 2. Second part is included list. Comma separated table names/regex with in > square brackets[]. > 3. Third part is excluded list. Comma separated table names/regex with in > square brackets[]. > {code} > <db_name> -- Full DB replication which is currently supported. > <db_name>.* -- Full DB replication > <db_name>.t1 -- DB level replication with just one table t1. > <db_name>.[t1, t2] -- DB replication with static list of tables t1 and t2 > included. > <db_name>.[t1*, t2, *t3].[t100, 5t3, t4] -- DB replication with all tables > having prefix t1, with suffix t3 and include table t2and exclude t100 which > has the prefix t1, 5t3 which suffix t3 and t4. > {code} > - Need to support regular expression of any format. > - A table is included in dump only if it matches the regular expressions in > included list and doesn't match the excluded list. -- This message was sent by Atlassian JIRA (v7.6.3#76005)