hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "WangMeng (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HIVE-12232) Create external table failed when enabled StorageBasedAuthorization
Date Thu, 22 Oct 2015 12:04:27 GMT
WangMeng created HIVE-12232:
-------------------------------

             Summary: Create external table failed when enabled StorageBasedAuthorization
                 Key: HIVE-12232
                 URL: https://issues.apache.org/jira/browse/HIVE-12232
             Project: Hive
          Issue Type: Bug
    Affects Versions: 1.2.1
            Reporter: WangMeng
            Assignee: WangMeng


Please look at the stacktrace, when enabled StorageBasedAuthorization, creating external table
will failed with write permission about the default warehouse path "/user/hive/warehouse":


> CREATE EXTERNAL TABLE test(id int) LOCATION '/tmp/wangmeng/test'  ;
Error: Error while compiling statement: FAILED: HiveException java.security.AccessControlException:
Permission denied: user=wangmeng, access=WRITE, inode="/user/hive/warehouse":hive:hive:drwxr-x--t.



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

Mime
View raw message