[
https://issues.apache.org/jira/browse/HADOOP-10520?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13975370#comment-13975370
]
Uma Maheswara Rao G commented on HADOOP-10520:
----------------------------------------------
>With the current API you cannot achieve the CREATE, REPLACE, ANY semantics of
>setxattr()
Agree. We can have the flags like in Linux. how about XAttrSetMode -->
XAttrFlag? ( as Linux API arg name is 'flags', it may be more consistent in
nameing as well)
>Do we need methods for setting/removing to handle multiple attributes? IMO
>this will complicate failures.
I think in the first version of Xattr support, may be we can have single_xattr
support for making things simple. On the followup JIRAs, we can have support
for attr_multi support?
> 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
> Reporter: Yi Liu
> Assignee: Yi Liu
> Fix For: 3.0.0
>
> Attachments: 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)