philipse created HIVE-21606: ------------------------------- Summary: 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 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)