You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "WangMeng (JIRA)" <ji...@apache.org> on 2015/10/22 14:19:27 UTC
[jira] [Updated] (HIVE-12232) Create external table failed when
enabled StorageBasedAuthorization
[ https://issues.apache.org/jira/browse/HIVE-12232?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
WangMeng updated HIVE-12232:
----------------------------
Attachment: HIVE-12232.01.patch
> 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
> Attachments: HIVE-12232.01.patch
>
>
> 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)