You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Carl Steinbach (Updated) (JIRA)" <ji...@apache.org> on 2012/04/11 23:49:16 UTC

[jira] [Updated] (HIVE-2405) get_privilege does not get user level privilege

     [ https://issues.apache.org/jira/browse/HIVE-2405?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Carl Steinbach updated HIVE-2405:
---------------------------------

    Component/s: Security
                 Authorization
    
> 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
>          Components: Authorization, Security
>            Reporter: He Yongqiang
>            Assignee: He Yongqiang
>             Fix For: 0.8.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.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira