[ https://issues.apache.org/jira/browse/HIVE-7943?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14122902#comment-14122902 ]
Hive QA commented on HIVE-7943: ------------------------------- {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/12666638/HIVE-7943.3.patch {color:red}ERROR:{color} -1 due to 1 failed/errored test(s), 6140 tests executed *Failed tests:* {noformat} org.apache.hive.jdbc.miniHS2.TestHiveServer2.testConnection {noformat} Test results: http://ec2-174-129-184-35.compute-1.amazonaws.com/jenkins/job/PreCommit-HIVE-TRUNK-Build/652/testReport Console output: http://ec2-174-129-184-35.compute-1.amazonaws.com/jenkins/job/PreCommit-HIVE-TRUNK-Build/652/console Test logs: http://ec2-174-129-184-35.compute-1.amazonaws.com/logs/PreCommit-HIVE-TRUNK-Build-652/ 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: 1 tests failed {noformat} This message is automatically generated. ATTACHMENT ID: 12666638 > hive.security.authorization.createtable.owner.grants is ineffective with > Default Authorization > ---------------------------------------------------------------------------------------------- > > Key: HIVE-7943 > URL: https://issues.apache.org/jira/browse/HIVE-7943 > Project: Hive > Issue Type: Bug > Components: Authorization > Affects Versions: 0.13.1 > Reporter: Ashu Pachauri > Assignee: Ashu Pachauri > Attachments: HIVE-7943.1.patch, HIVE-7943.2.patch, HIVE-7943.3.patch > > > HIVE-6250 separates owner privileges from user privileges. However, Default > Authorization does not adapt to the change and table owners do not inherit > permissions from the config. > Steps to Reproduce: > set hive.security.authorization.enabled=true; > set hive.security.authorization.createtable.owner.grants=ALL; > create table temp_table(id int, value string); > drop table temp_table; > Above set of operations throw the following error: > > Authorization failed:No privilege 'Drop' found for outputs { > database:default, table:temp_table}. Use SHOW GRANT to get more details. > 14/09/02 17:49:38 ERROR ql.Driver: Authorization failed:No privilege 'Drop' > found for outputs { database:default, table:temp_table}. Use SHOW GRANT to > get more details. -- This message was sent by Atlassian JIRA (v6.3.4#6332)