hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jonathan Hseu (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HIVE-12704) Hive default authorization does not allow cross-database create table
Date Thu, 17 Dec 2015 16:27:46 GMT
Jonathan Hseu created HIVE-12704:
------------------------------------

             Summary: Hive default authorization does not allow cross-database create table
                 Key: HIVE-12704
                 URL: https://issues.apache.org/jira/browse/HIVE-12704
             Project: Hive
          Issue Type: Bug
          Components: Authorization
    Affects Versions: 1.2.1
            Reporter: Jonathan Hseu
            Assignee: Thejas M Nair


hive> use default;
OK
hive> create table jhseu.test_table1 (a int);
Authorization failed:No privilege 'Create' found for outputs { database:default}. Use SHOW
GRANT to get more details.
15/12/17 16:26:09 ERROR ql.Driver: Authorization failed:No privilege 'Create' found for outputs
{ database:default}. Use SHOW GRANT to get more details.
hive> use jhseu;
OK
hive> create table jhseu.test_table1 (a int);
OK

Create table authorization checks against the table you're currently using, but it only should
check against the destination.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message