[ https://issues.apache.org/jira/browse/HIVE-10630?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14543296#comment-14543296 ]
Hive QA commented on HIVE-10630: -------------------------------- {color:red}Overall{color}: -1 at least one tests failed Here are the results of testing the latest attachment: https://issues.apache.org/jira/secure/attachment/12732747/HIVE-10630.patch {color:red}ERROR:{color} -1 due to 2 failed/errored test(s), 8922 tests executed *Failed tests:* {noformat} org.apache.hadoop.hive.cli.TestEncryptedHDFSCliDriver.testCliDriver_encryption_insert_partition_static org.apache.hive.hcatalog.streaming.TestStreaming.testTransactionBatchCommit_Json {noformat} Test results: http://ec2-174-129-184-35.compute-1.amazonaws.com/jenkins/job/PreCommit-HIVE-TRUNK-Build/3887/testReport Console output: http://ec2-174-129-184-35.compute-1.amazonaws.com/jenkins/job/PreCommit-HIVE-TRUNK-Build/3887/console Test logs: http://ec2-174-129-184-35.compute-1.amazonaws.com/logs/PreCommit-HIVE-TRUNK-Build-3887/ Messages: {noformat} Executing org.apache.hive.ptest.execution.PrepPhase Executing org.apache.hive.ptest.execution.ExecutionPhase Executing org.apache.hive.ptest.execution.ReportingPhase Tests exited with: TestsFailedException: 2 tests failed {noformat} This message is automatically generated. ATTACHMENT ID: 12732747 - PreCommit-HIVE-TRUNK-Build > Renaming tables across encryption zones renames table even though the > operation throws error > -------------------------------------------------------------------------------------------- > > Key: HIVE-10630 > URL: https://issues.apache.org/jira/browse/HIVE-10630 > Project: Hive > Issue Type: Sub-task > Components: Metastore, Security > Reporter: Deepesh Khandelwal > Assignee: Eugene Koifman > Attachments: HIVE-10630.patch, HIVE-10630.patch > > > Create a table with data in an encrypted zone 1 and then rename it to > encrypted zone 2. > {noformat} > hive> alter table encdb1.testtbl rename to encdb2.testtbl; > FAILED: Execution Error, return code 1 from > org.apache.hadoop.hive.ql.exec.DDLTask. Unable to alter table. Unable to > access old location > hdfs://node-1.example.com:8020/apps/hive/warehouse/encdb1.db/testtbl for > table encdb1.testtbl > {noformat} > Even though the command errors out the table is renamed. I think the right > behavior should be to not rename the table at all including the metadata. -- This message was sent by Atlassian JIRA (v6.3.4#6332)