[ 
https://issues.apache.org/jira/browse/HADOOP-14223?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Manoj Govindassamy updated HADOOP-14223:
----------------------------------------
    Attachment: HADOOP-14223.01.patch

Attached v01 patch to extend FileStatus as following.
* added hasAcl() to return the ACL bit set in FsPermission, and on the same 
lines of isEncrypted() and isErasureCoded()
* extended toString() to return set or unset details on ACL, encryption and 
erasure coding.
* FileSystem spec updated
* Unit tests to verify the newly added details in FileStatus

> Extend FileStatus#toString() to include details like Erasure Coding and 
> Encryption
> ----------------------------------------------------------------------------------
>
>                 Key: HADOOP-14223
>                 URL: https://issues.apache.org/jira/browse/HADOOP-14223
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: fs
>    Affects Versions: 3.0.0-alpha1
>            Reporter: Manoj Govindassamy
>            Assignee: Manoj Govindassamy
>         Attachments: HADOOP-14223.01.patch
>
>
> HDFS-6843 and HADOOP-13715 have enhanced {{FileStatus}} to include details on 
> whether the underlying path is Encrypted and Erasure Coded. The additional 
> details are embedded in the FsPermission high order bits. It would be really 
> helpful for debugging if FileStatus#toString() returns these new bits details 
> along with already existing one. 



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to