[
https://issues.apache.org/jira/browse/BIGTOP-1255?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Konstantin Boudnik resolved BIGTOP-1255.
----------------------------------------
Resolution: Won't Fix
Let's address it as a part of BIGTOP-952
> init-hcfs.json needs to encode privileges as strings, not numbers.
> ------------------------------------------------------------------
>
> Key: BIGTOP-1255
> URL: https://issues.apache.org/jira/browse/BIGTOP-1255
> Project: Bigtop
> Issue Type: Bug
> Reporter: jay vyas
>
> JSON doesn't support octal numbers, so to encode privileges, its best to
> encode the privilege numbers as strings:
> {noformat}
> "/tmp",0777
> {noformat}
> Needs to be
> {noformat}
> "/tmp","0777"
> {noformat}
> 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.
--
This message was sent by Atlassian JIRA
(v6.2#6252)