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

Chris Nauroth updated HDFS-5932:
--------------------------------

    Attachment: HDFS-5932.1.patch

I'm attaching the patch.  This is dependent on HDFS-5923, so you'd need to have 
that patch applied first.

This detects the presence of an ACL by calling {{getAclStatus}}.  For 
compatibility with an older NameNode, we trap the RPC exception if 
{{getAclStatus}} is not defined on the server side.  We keep track of the URI 
of any {{FileSystem}} instance for which the {{getAclStatus}} method was not 
defined.  This prevents spamming multiple RPC calls that we know can't possibly 
succeed.

> Ls should display the ACL bit
> -----------------------------
>
>                 Key: HDFS-5932
>                 URL: https://issues.apache.org/jira/browse/HDFS-5932
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>          Components: hdfs-client, namenode, security
>            Reporter: Haohui Mai
>            Assignee: Chris Nauroth
>         Attachments: HDFS-5932.1.patch
>
>
> Based on the discussion of HDFS-5923, the ACL bit is no longer passed to the 
> client directly. Ls should call {{getAclStatus()}} instead since it needs to 
> display the ACL bit as a part of the permission.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Reply via email to