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

Uma Maheswara Rao G commented on HADOOP-10520:
----------------------------------------------

Thanks a lot Liu, for the patch update.  Latest patch almost looks good to me.
Worth having flag explanation in XattrSetFlag docs.  
Also please mention that setXAttrs with out specifying flag will create 
attribute if does not exist as well.

Note: Linux has listxattr api which will list the xattrs names. Since we have 
an API getXattrs which will return map with name and value, we are good with 
that. So, we thought of not having any extra api for that now.  I discussed 
with Alejandro offline regarding this point and we are in this conclusion.

> Extended attributes definition and FileSystem APIs for extended attributes.
> ---------------------------------------------------------------------------
>
>                 Key: HADOOP-10520
>                 URL: https://issues.apache.org/jira/browse/HADOOP-10520
>             Project: Hadoop Common
>          Issue Type: Sub-task
>          Components: fs
>    Affects Versions: HDFS XAttrs (HDFS-2006)
>            Reporter: Yi Liu
>            Assignee: Yi Liu
>             Fix For: 3.0.0
>
>         Attachments: HADOOP-10520.1.patch, HADOOP-10520.2.patch, 
> HADOOP-10520.patch
>
>
> This JIRA defines XAttr (Extended Attribute), it consists of a name and 
> associated data, and 4 namespaces are defined: user, trusted, security and 
> system. FileSystem APIs for XAttr include setXAttrs, getXAttrs, removeXAttrs 
> and so on. For more information, please refer to HDFS-2006.



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

Reply via email to