Viacheslav Avramenko created HIVE-24250: -------------------------------------------
Summary: CREATE DATABASE with MANAGEDLOCATION set requires super user priv on location Key: HIVE-24250 URL: https://issues.apache.org/jira/browse/HIVE-24250 Project: Hive Issue Type: Bug Components: Metastore Affects Versions: 4.0.0 Reporter: Viacheslav Avramenko At [https://github.com/apache/hive/blob/master/standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/HiveMetaStore.java#L1485] Folder for Database is created as superuser, instead of impersonated one. This leads to issues when impersonation is on (doAs =true) and superuser have no access to location specified in MANAGEDLOCATION of CREATE DATABASE. If I am, as a user, specify a location where to create my database, I should have write access there. -- This message was sent by Atlassian Jira (v8.3.4#803005)