[ https://issues.apache.org/jira/browse/HIVE-6122?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13872143#comment-13872143 ]
Hive QA commented on HIVE-6122: ------------------------------- {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/12623061/HIVE-6122.2.patch.txt {color:red}ERROR:{color} -1 due to 7 failed/errored test(s), 4926 tests executed *Failed tests:* {noformat} org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver_alter_rename_partition_authorization org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver_authorization_2 org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver_authorization_6 org.apache.hadoop.hive.cli.TestMinimrCliDriver.testCliDriver_schemeAuthority org.apache.hadoop.hive.cli.TestNegativeCliDriver.testNegativeCliDriver_authorization_fail_4 org.apache.hadoop.hive.cli.TestNegativeCliDriver.testNegativeCliDriver_authorization_fail_5 org.apache.hadoop.hive.cli.TestNegativeCliDriver.testNegativeCliDriver_authorization_part {noformat} Test results: http://bigtop01.cloudera.org:8080/job/PreCommit-HIVE-Build/920/testReport Console output: http://bigtop01.cloudera.org:8080/job/PreCommit-HIVE-Build/920/console 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: 7 tests failed {noformat} This message is automatically generated. ATTACHMENT ID: 12623061 > Implement show grant on <resource> > ---------------------------------- > > Key: HIVE-6122 > URL: https://issues.apache.org/jira/browse/HIVE-6122 > Project: Hive > Issue Type: Improvement > Components: Authorization > Reporter: Navis > Assignee: Navis > Priority: Minor > Attachments: HIVE-6122.1.patch.txt, HIVE-6122.2.patch.txt > > > Currently, hive shows privileges owned by a principal. Reverse API is also > needed, which shows all principals for a resource. > {noformat} > show grant user hive_test_user on database default; > show grant user hive_test_user on table dummy; > show grant user hive_test_user on all; > {noformat} -- This message was sent by Atlassian JIRA (v6.1.5#6160)