[
https://issues.apache.org/jira/browse/HIVE-2405?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13104344#comment-13104344
]
Hudson commented on HIVE-2405:
------------------------------
Integrated in Hive-trunk-h0.21 #952 (See
[https://builds.apache.org/job/Hive-trunk-h0.21/952/])
HIVE-2405. get_privilege does not get user level privilege
(He Yongqiang via jvs)
jvs : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1170398
Files :
*
/hive/trunk/metastore/src/java/org/apache/hadoop/hive/metastore/HiveMetaStore.java
* /hive/trunk/ql/src/test/queries/clientpositive/authorization_7.q
* /hive/trunk/ql/src/test/results/clientpositive/authorization_7.q.out
> get_privilege does not get user level privilege
> -----------------------------------------------
>
> Key: HIVE-2405
> URL: https://issues.apache.org/jira/browse/HIVE-2405
> Project: Hive
> Issue Type: Bug
> Reporter: He Yongqiang
> Assignee: He Yongqiang
> Fix For: 0.9.0
>
> Attachments: HIVE-2405.1.patch, HIVE-2405.2.patch
>
>
> hive> set hive.security.authorization.enabled=true;
> hive> grant all to user heyongqiang;
> hive> show grant user heyongqiang;
> principalName heyongqiang
> principalType USER
> privilege All
> grantTime Wed Aug 24 11:51:54 PDT 2011
> grantor heyongqiang
> Time taken: 0.032 seconds
> hive> CREATE TABLE src (foo INT, bar STRING);
> Authorization failed:No privilege 'Create' found for outputs {
> database:default}. Use show grant to get more details.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira