[
https://issues.apache.org/jira/browse/HDFS-6464?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14016481#comment-14016481
]
Charles Lamb commented on HDFS-6464:
------------------------------------
bq. It happens when there is no value for some xattr.name parameter in HTTP
request. For example xattr.name=<XATTRNAME1>&xattr.name=&xattr.name=<XATTRNAME3>
Then wouldn't the value be null in that case, not the name? The check in the
code is for the name being null, not the value.
> 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)