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

Uma Maheswara Rao G commented on HDFS-6464:
-------------------------------------------

Tiny nit:

{code}
 Map<?, ?> json = (Map<?, ?>)JSON.parse(jsonString);
 {code}
 need format

Also I did not see the documentation for it. Separate JIRA for using xattrs via 
webhdfs?

> Support multiple xattr.name parameters for WebHDFS getXAttrs.
> -------------------------------------------------------------
>
>                 Key: HDFS-6464
>                 URL: https://issues.apache.org/jira/browse/HDFS-6464
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: webhdfs
>    Affects Versions: 3.0.0
>            Reporter: Yi Liu
>            Assignee: Yi Liu
>             Fix For: 3.0.0
>
>         Attachments: HDFS-6464.patch
>
>
> For WebHDFS getXAttrs through names, right now the entire list is passed to 
> the client side and then filtered, which is not the best choice since it's 
> inefficient and precludes us from doing server-side smarts on par with the 
> Java APIs. 
> Furthermore, if some xattrs doesn't exist, server side should return error.



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

Reply via email to