You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Hive QA (JIRA)" <ji...@apache.org> on 2014/02/03 16:00:18 UTC
[jira] [Commented] (HIVE-6204) The result of show grant / show role
should be tabular format
[ https://issues.apache.org/jira/browse/HIVE-6204?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13889527#comment-13889527 ]
Hive QA commented on HIVE-6204:
-------------------------------
{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/12626608/HIVE-6204.1.patch.txt
{color:red}ERROR:{color} -1 due to 3 failed/errored test(s), 4997 tests executed
*Failed tests:*
{noformat}
org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver_alter_rename_partition_authorization
org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver_keyword_1
org.apache.hadoop.hive.jdbc.TestJdbcDriver.testShowGrant
{noformat}
Test results: http://bigtop01.cloudera.org:8080/job/PreCommit-HIVE-Build/1164/testReport
Console output: http://bigtop01.cloudera.org:8080/job/PreCommit-HIVE-Build/1164/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: 3 tests failed
{noformat}
This message is automatically generated.
ATTACHMENT ID: 12626608
> The result of show grant / show role should be tabular format
> -------------------------------------------------------------
>
> Key: HIVE-6204
> URL: https://issues.apache.org/jira/browse/HIVE-6204
> Project: Hive
> Issue Type: Improvement
> Components: Authorization
> Reporter: Navis
> Assignee: Navis
> Priority: Minor
> Attachments: HIVE-6204.1.patch.txt
>
>
> {noformat}
> hive> show grant role role1 on all;
> OK
> database default
> table src
> principalName role1
> principalType ROLE
> privilege Create
> grantTime Wed Dec 18 14:17:56 KST 2013
> grantor navis
> database default
> table srcpart
> principalName role1
> principalType ROLE
> privilege Update
> grantTime Wed Dec 18 14:18:28 KST 2013
> grantor navis
> {noformat}
> This should be something like below, especially for JDBC clients.
> {noformat}
> hive> show grant role role1 on all;
> OK
> default src role1 ROLE Create false 1387343876000 navis
> default srcpart role1 ROLE Update false 1387343908000 navis
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.1.5#6160)