[ https://issues.apache.org/jira/browse/HIVE-24484?focusedWorklogId=619867&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-619867 ]
ASF GitHub Bot logged work on HIVE-24484: ----------------------------------------- Author: ASF GitHub Bot Created on: 07/Jul/21 09:40 Start Date: 07/Jul/21 09:40 Worklog Time Spent: 10m Work Description: pgaref commented on a change in pull request #1742: URL: https://github.com/apache/hive/pull/1742#discussion_r665212475 ########## File path: itests/hive-unit/src/test/java/org/apache/hadoop/hive/ql/parse/TestReplicationOnHDFSEncryptedZones.java ########## @@ -119,16 +120,15 @@ public void targetAndSourceHaveDifferentEncryptionZoneKeys() throws Throwable { .run("insert into table encrypted_table values (2,'value2')") .dump(primaryDbName, dumpWithClause); - replica - .run("repl load " + primaryDbName + " into " + replicatedDbName - + " with('hive.repl.add.raw.reserved.namespace'='true', " - + "'hive.repl.replica.external.table.base.dir'='" + replica.externalTableWarehouseRoot + "', " - + "'distcp.options.pugpbx'='', 'distcp.options.skipcrccheck'='')") - .run("use " + replicatedDbName) - .run("repl status " + replicatedDbName) - .verifyResult(tuple.lastReplicationId) - .run("select value from encrypted_table") - .verifyFailure(new String[] { "value1", "value2" }); + try { + replica.run("repl load " + primaryDbName + " into " + replicatedDbName + + " with('hive.repl.add.raw.reserved.namespace'='true', " + "'hive.repl.replica.external.table.base.dir'='" + + replica.externalTableWarehouseRoot + "', " + + "'distcp.options.pugpbx'='', 'distcp.options.skipcrccheck'='')"); + Assert.fail("Test should have thrown an exception because cross-encryption-zone is not allowed for RAW"); + } catch (IOException ioe) { + // ignore Review comment: Hey @belugabehr just read the detailed comment on the JIRA about this but I believe we should add some explanation here as well for clarity -- 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: gitbox-unsubscr...@hive.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org Issue Time Tracking ------------------- Worklog Id: (was: 619867) Time Spent: 2.55h (was: 2h 23m) > Upgrade Hadoop to 3.3.1 > ----------------------- > > Key: HIVE-24484 > URL: https://issues.apache.org/jira/browse/HIVE-24484 > Project: Hive > Issue Type: Improvement > Reporter: David Mollitor > Assignee: David Mollitor > Priority: Major > Labels: pull-request-available > Time Spent: 2.55h > Remaining Estimate: 0h > -- This message was sent by Atlassian Jira (v8.3.4#803005)