[ 
https://issues.apache.org/jira/browse/HADOOP-14223?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15943866#comment-15943866
 ] 

Manoj Govindassamy edited comment on HADOOP-14223 at 3/27/17 7:11 PM:
----------------------------------------------------------------------

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
[~andrew.wang], [[email protected]] can you please take a look at the patch ?


was (Author: manojg):
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