[ https://issues.apache.org/jira/browse/HIVE-21606?focusedWorklogId=233239&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-233239 ]
ASF GitHub Bot logged work on HIVE-21606: ----------------------------------------- Author: ASF GitHub Bot Created on: 26/Apr/19 02:47 Start Date: 26/Apr/19 02:47 Worklog Time Spent: 10m Work Description: lamber-ken commented on issue #593: HIVE-21606: when creating table with hdfs location,should not check permission of all the children dirs URL: https://github.com/apache/hive/pull/593#issuecomment-486906269 +1 ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org Issue Time Tracking ------------------- Worklog Id: (was: 233239) Time Spent: 20m (was: 10m) > 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 > Labels: pull-request-available > Attachments: fix-attach.patch, image-2019-04-12-15-31-30-883.png, > image-2019-04-12-15-34-55-942.png > > Time Spent: 20m > Remaining Estimate: 0h > > when we create a table with a specific location with login user *bidcadmin*. > {code:java} > create table testdb.test6(id int) location > '/data/dpdcadmin/test2/test2/test5'; > {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)