Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
trunk, 2.2.0
-
None
-
Tested with 2.3.ECS stack with ECS as backend file system.
Description
During Hiveserver2 start script, a directory create request is sent using the below JSON structcture but the permission request sent from fast-hdfs-resource.jar is different from the original permission (777) defined in the JSON file. It looks the mode is getting treated as Dec instead of OCT.
{"target": "/apps/hive/warehouse", "dfs_type": "HCFS", "action": "create", "mode": "777", "owner": "hive", "type": "directory"},
To verify, if we change the json to below then we are actually getting correct permission.
{"target": "/apps/hive/warehouse", "dfs_type": "HCFS", "action": "create", "mode": "511", "owner": "hive", "type": "directory"}
Attachments
Attachments
Issue Links
- links to