You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-issues@hadoop.apache.org by "Yi Liu (JIRA)" <ji...@apache.org> on 2014/05/12 09:16:17 UTC
[jira] [Commented] (HDFS-6259) Support extended attributes via
WebHDFS/HttpFS
[ https://issues.apache.org/jira/browse/HDFS-6259?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13994876#comment-13994876 ]
Yi Liu commented on HDFS-6259:
------------------------------
Require the bug fix in HDFS-6367.
> Support extended attributes via WebHDFS/HttpFS
> ----------------------------------------------
>
> Key: HDFS-6259
> URL: https://issues.apache.org/jira/browse/HDFS-6259
> Project: Hadoop HDFS
> Issue Type: Sub-task
> Components: webhdfs
> Affects Versions: HDFS XAttrs (HDFS-2006)
> Reporter: Yi Liu
> Assignee: Yi Liu
> Attachments: HDFS-6259.1.patch, HDFS-6259.patch
>
>
> Get xattrs:
> {code}curl -i 'http://<HOST>:<PORT>/webhdfs/v1/<PATH>?op=GETXATTRS&encoding=<ENCODING>'{code}
> Get xattr:
> {code}curl -i 'http://<HOST>:<PORT>/webhdfs/v1/<PATH>?op=GETXATTR&xattr.name=<XATTRNAME>&encoding=<ENCODING>'{code}
> Set xattr:
> {code}curl -i -X PUT 'http://<HOST>:<PORT>/webhdfs/v1/<PATH>?op=SETXATTR&xattr.name=<XATTRNAME>&xattr.value=<XATTRVALUE>&flag=<FLAG>'{code}
> Remove xattr:
> {code}curl -i -X PUT 'http://<HOST>:<PORT>/webhdfs/v1/<PATH>?op=REMOVEXATTR&xattr.name=<XATTRNAME>'{code}
--
This message was sent by Atlassian JIRA
(v6.2#6252)