You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "philipse (JIRA)" <ji...@apache.org> on 2019/04/12 07:37:00 UTC
[jira] [Assigned] (HIVE-21606) when creating table with hdfs
location,should not check permission of all the children dirs
[ https://issues.apache.org/jira/browse/HIVE-21606?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
philipse reassigned HIVE-21606:
-------------------------------
> when creating table with hdfs location,should not check permission of all the children dirs
> -------------------------------------------------------------------------------------------
>
> Key: HIVE-21606
> URL: https://issues.apache.org/jira/browse/HIVE-21606
> Project: Hive
> Issue Type: Bug
> Components: Authorization
> Affects Versions: 2.3.4
> Reporter: philipse
> Assignee: philipse
> Priority: Major
> Attachments: image-2019-04-12-15-31-30-883.png, image-2019-04-12-15-34-55-942.png
>
>
> when we create a table with a specific location
> {code:java}
> create table testdb.test6(id int) location '/data/dpdcadmin/test2/test2/test4';
> {code}
> we met the following errors:
> {code:java}
> Error: Error while compiling statement: FAILED: HiveAccessControlException Permission denied: Principal [name=bidcadmin, type=USER] does not have following privileges for operation CREATETABLE [[INSERT, DELETE] on Object [type=DFS_URI, name=hdfs://hadoopcluster/data/dpdcadmin/test2/test2/test5]] (state=42000,code=40000)
> {code}
>
> the hdfs permission is as the following
> !image-2019-04-12-15-34-55-942.png!
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)