hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chris Nauroth (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-6259) Support extended attributes via WebHDFS
Date Mon, 19 May 2014 18:08:41 GMT

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

Chris Nauroth commented on HDFS-6259:
-------------------------------------

+1 from me after addressing Uma's comments about formatting.  Thanks, Yi!

> Support extended attributes via WebHDFS
> ---------------------------------------
>
>                 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.2.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)

Mime
View raw message