Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Duplicate
-
1.2.1
-
None
-
None
-
None
Description
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.
Attachments
Attachments
Issue Links
- duplicates
-
HIVE-12231 StorageBasedAuthorization requires write permission of default Warehouse when create external database
-
- Patch Available
-