[jira] [Work logged] (HIVE-23474) Deny Repl Dump if the database is a target of replication
[ https://issues.apache.org/jira/browse/HIVE-23474?focusedWorklogId=489143=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-489143 ] ASF GitHub Bot logged work on HIVE-23474: - Author: ASF GitHub Bot Created on: 23/Sep/20 04:39 Start Date: 23/Sep/20 04:39 Worklog Time Spent: 10m Work Description: github-actions[bot] closed pull request #1247: URL: https://github.com/apache/hive/pull/1247 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: us...@infra.apache.org Issue Time Tracking --- Worklog Id: (was: 489143) Time Spent: 1h (was: 50m) > Deny Repl Dump if the database is a target of replication > - > > Key: HIVE-23474 > URL: https://issues.apache.org/jira/browse/HIVE-23474 > Project: Hive > Issue Type: Task >Reporter: Aasha Medhi >Assignee: Aasha Medhi >Priority: Major > Labels: pull-request-available > Attachments: HIVE-23474.01.patch, HIVE-23474.02.patch, > HIVE-23474.03.patch > > Time Spent: 1h > Remaining Estimate: 0h > -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Work logged] (HIVE-23474) Deny Repl Dump if the database is a target of replication
[ https://issues.apache.org/jira/browse/HIVE-23474?focusedWorklogId=488692=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-488692 ] ASF GitHub Bot logged work on HIVE-23474: - Author: ASF GitHub Bot Created on: 23/Sep/20 00:48 Start Date: 23/Sep/20 00:48 Worklog Time Spent: 10m Work Description: github-actions[bot] closed pull request #1247: URL: https://github.com/apache/hive/pull/1247 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: us...@infra.apache.org Issue Time Tracking --- Worklog Id: (was: 488692) Time Spent: 50m (was: 40m) > Deny Repl Dump if the database is a target of replication > - > > Key: HIVE-23474 > URL: https://issues.apache.org/jira/browse/HIVE-23474 > Project: Hive > Issue Type: Task >Reporter: Aasha Medhi >Assignee: Aasha Medhi >Priority: Major > Labels: pull-request-available > Attachments: HIVE-23474.01.patch, HIVE-23474.02.patch, > HIVE-23474.03.patch > > Time Spent: 50m > Remaining Estimate: 0h > -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Work logged] (HIVE-23474) Deny Repl Dump if the database is a target of replication
[ https://issues.apache.org/jira/browse/HIVE-23474?focusedWorklogId=484847=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-484847 ] ASF GitHub Bot logged work on HIVE-23474: - Author: ASF GitHub Bot Created on: 16/Sep/20 00:46 Start Date: 16/Sep/20 00:46 Worklog Time Spent: 10m Work Description: github-actions[bot] commented on pull request #1247: URL: https://github.com/apache/hive/pull/1247#issuecomment-693103904 This pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Feel free to reach out on the d...@hive.apache.org list if the patch is in need of reviews. 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: us...@infra.apache.org Issue Time Tracking --- Worklog Id: (was: 484847) Time Spent: 40m (was: 0.5h) > Deny Repl Dump if the database is a target of replication > - > > Key: HIVE-23474 > URL: https://issues.apache.org/jira/browse/HIVE-23474 > Project: Hive > Issue Type: Task >Reporter: Aasha Medhi >Assignee: Aasha Medhi >Priority: Major > Labels: pull-request-available > Attachments: HIVE-23474.01.patch, HIVE-23474.02.patch, > HIVE-23474.03.patch > > Time Spent: 40m > Remaining Estimate: 0h > -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Work logged] (HIVE-23474) Deny Repl Dump if the database is a target of replication
[ https://issues.apache.org/jira/browse/HIVE-23474?focusedWorklogId=460274=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-460274 ] ASF GitHub Bot logged work on HIVE-23474: - Author: ASF GitHub Bot Created on: 17/Jul/20 12:21 Start Date: 17/Jul/20 12:21 Worklog Time Spent: 10m Work Description: aasha commented on a change in pull request #1247: URL: https://github.com/apache/hive/pull/1247#discussion_r456406599 ## File path: itests/hive-unit/src/test/java/org/apache/hadoop/hive/ql/parse/TestReplicationScenariosAcrossInstances.java ## @@ -944,96 +944,6 @@ public void testIncrementalDumpMultiIteration() throws Throwable { Assert.assertEquals(IncrementalLoadTasksBuilder.getNumIteration(), numEvents); } - @Test - public void testIfCkptAndSourceOfReplPropsIgnoredByReplDump() throws Throwable { Review comment: Agree, added 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: us...@infra.apache.org Issue Time Tracking --- Worklog Id: (was: 460274) Time Spent: 0.5h (was: 20m) > Deny Repl Dump if the database is a target of replication > - > > Key: HIVE-23474 > URL: https://issues.apache.org/jira/browse/HIVE-23474 > Project: Hive > Issue Type: Task >Reporter: Aasha Medhi >Assignee: Aasha Medhi >Priority: Major > Labels: pull-request-available > Attachments: HIVE-23474.01.patch, HIVE-23474.02.patch, > HIVE-23474.03.patch > > Time Spent: 0.5h > Remaining Estimate: 0h > -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Work logged] (HIVE-23474) Deny Repl Dump if the database is a target of replication
[ https://issues.apache.org/jira/browse/HIVE-23474?focusedWorklogId=460100=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-460100 ] ASF GitHub Bot logged work on HIVE-23474: - Author: ASF GitHub Bot Created on: 17/Jul/20 06:23 Start Date: 17/Jul/20 06:23 Worklog Time Spent: 10m Work Description: pkumarsinha commented on a change in pull request #1247: URL: https://github.com/apache/hive/pull/1247#discussion_r456242103 ## File path: itests/hive-unit/src/test/java/org/apache/hadoop/hive/ql/parse/TestReplicationScenariosAcrossInstances.java ## @@ -944,96 +944,6 @@ public void testIncrementalDumpMultiIteration() throws Throwable { Assert.assertEquals(IncrementalLoadTasksBuilder.getNumIteration(), numEvents); } - @Test - public void testIfCkptAndSourceOfReplPropsIgnoredByReplDump() throws Throwable { Review comment: This was testing that source of replication properties are ignored by replication while the custom ones are not. Can we retain that part? ## File path: ql/src/java/org/apache/hadoop/hive/ql/parse/ReplicationSemanticAnalyzer.java ## @@ -219,6 +219,11 @@ private void initReplDump(ASTNode ast) throws HiveException { " as it is not a source of replication (repl.source.for)"); throw new SemanticException(ErrorMsg.REPL_DATABASE_IS_NOT_SOURCE_OF_REPLICATION.getMsg()); } +if (ReplUtils.isTargetOfReplication(database)) { + LOG.error("Cannot dump database " + dbNameOrPattern + +" as it is a target of replication (repl.target.for)"); Review comment: nit: Can accommodate in one line 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: us...@infra.apache.org Issue Time Tracking --- Worklog Id: (was: 460100) Time Spent: 20m (was: 10m) > Deny Repl Dump if the database is a target of replication > - > > Key: HIVE-23474 > URL: https://issues.apache.org/jira/browse/HIVE-23474 > Project: Hive > Issue Type: Task >Reporter: Aasha Medhi >Assignee: Aasha Medhi >Priority: Major > Labels: pull-request-available > Attachments: HIVE-23474.01.patch, HIVE-23474.02.patch > > Time Spent: 20m > Remaining Estimate: 0h > -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Work logged] (HIVE-23474) Deny Repl Dump if the database is a target of replication
[ https://issues.apache.org/jira/browse/HIVE-23474?focusedWorklogId=458008=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-458008 ] ASF GitHub Bot logged work on HIVE-23474: - Author: ASF GitHub Bot Created on: 13/Jul/20 12:14 Start Date: 13/Jul/20 12:14 Worklog Time Spent: 10m Work Description: aasha opened a new pull request #1247: URL: https://github.com/apache/hive/pull/1247 ## NOTICE Please create an issue in ASF JIRA before opening a pull request, and you need to set the title of the pull request which starts with the corresponding JIRA issue number. (e.g. HIVE-X: Fix a typo in YYY) For more details, please see https://cwiki.apache.org/confluence/display/Hive/HowToContribute 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: us...@infra.apache.org Issue Time Tracking --- Worklog Id: (was: 458008) Remaining Estimate: 0h Time Spent: 10m > Deny Repl Dump if the database is a target of replication > - > > Key: HIVE-23474 > URL: https://issues.apache.org/jira/browse/HIVE-23474 > Project: Hive > Issue Type: Task >Reporter: Aasha Medhi >Assignee: Aasha Medhi >Priority: Major > Time Spent: 10m > Remaining Estimate: 0h > -- This message was sent by Atlassian Jira (v8.3.4#803005)