Description
JSON doesn't support octal numbers, so to encode privileges, its best to encode the privilege numbers as strings:
"/tmp",0777
Needs to be
"/tmp","0777"
Then, we can easily use Short.decode(..) to read in octal encoded numbers. The short value can then be passed properly to the constructor of FsPermission.
This is fixed in https://issues.apache.org/jira/secure/attachment/12634808/BIGTOP-952.patch , but just wanted to create a separate placeholder JIRA while BIGTOP-952 is still pending.
Attachments
Issue Links
- is superceded by
-
BIGTOP-952 init-hdfs.sh is dog slow. Let's replace it with a direct HDFS API calls and better layout management
- Resolved