WangMeng created HIVE-12232: ------------------------------- Summary: 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
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)