You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Vishwajeet Dusane (JIRA)" <ji...@apache.org> on 2017/08/03 07:49:00 UTC

[jira] [Commented] (HADOOP-14223) Extend FileStatus#toString() to include details like Erasure Coding and Encryption

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

Vishwajeet Dusane commented on HADOOP-14223:
--------------------------------------------

[~manojg], [~andrew.wang] and [~stevea] - hadoop azure datalake unit test are failing after this change.

And

[TestGetFileStatus.java#L68-L68|https://github.com/apache/hadoop/blob/4966a6e26e45d7dc36e0b270066ff7c87bcd00cc/hadoop-tools/hadoop-azure-datalake/src/test/java/org/apache/hadoop/fs/adl/TestGetFileStatus.java#L68-L68]
{code:java}
Assert.assertTrue(path + " should have Acl!", fileStatus.hasAcl());
{code}

And 

[TestGetFileStatus.java#L88-L89|https://github.com/apache/hadoop/blob/4966a6e26e45d7dc36e0b270066ff7c87bcd00cc/hadoop-tools/hadoop-azure-datalake/src/test/java/org/apache/hadoop/fs/adl/TestGetFileStatus.java#L88-L89]

{code:java}
Assert.assertEquals(fileStatus.hasAcl(),
            fileStatus.getPermission().getAclBit());
{code}

Looking ...

> 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
>             Fix For: 3.0.0-alpha4
>
>         Attachments: HADOOP-14223.01.patch, HADOOP-14223.02.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.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org