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

Charles Lamb updated HDFS-6375:
-------------------------------

    Attachment: HDFS-6375.7.patch

[~andrew.wang], Thanks for the detailed review. The .7 patch addresses all of 
your concerns. In addition to the little things you cited, I changed the 
protocol to use XAttrs instead of strings and added the unit test that you 
suggested. There are some other cleanups that are included in this rev of the 
patch: the code now uses XAttrHelper to go to/from strings/XAttrs. Also, the 
jenkins failures resulted in needing to write a webhdfs implementation of 
listXAttrs. I manually ran the unit tests that failed in the jenkins run so I 
expect this patch to now pass all of the tests.

> Listing extended attributes with the search permission
> ------------------------------------------------------
>
>                 Key: HDFS-6375
>                 URL: https://issues.apache.org/jira/browse/HDFS-6375
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>          Components: namenode
>    Affects Versions: 3.0.0
>            Reporter: Andrew Wang
>            Assignee: Charles Lamb
>         Attachments: HDFS-6375.1.patch, HDFS-6375.2.patch, HDFS-6375.3.patch, 
> HDFS-6375.4.patch, HDFS-6375.5.patch, HDFS-6375.6.patch, HDFS-6375.7.patch
>
>
> From the attr(5) manpage:
> {noformat}
>        Users with search access to a file or directory may retrieve a list  of
>        attribute names defined for that file or directory.
> {noformat}
> This is like doing {{getfattr}} without the {{-d}} flag, which we currently 
> don't support.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to