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 "Jagadesh Kiran N (JIRA)" <ji...@apache.org> on 2015/10/31 11:36:27 UTC

[jira] [Updated] (HDFS-9338) in webhdfs Null pointer exception will be thrown when xattrname is not given

     [ https://issues.apache.org/jira/browse/HDFS-9338?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jagadesh Kiran N updated HDFS-9338:
-----------------------------------
    Attachment: HDFS-9338-00.patch

Attached the patch please review

> in webhdfs Null pointer exception will be thrown when xattrname is not given
> ----------------------------------------------------------------------------
>
>                 Key: HDFS-9338
>                 URL: https://issues.apache.org/jira/browse/HDFS-9338
>             Project: Hadoop HDFS
>          Issue Type: Bug
>            Reporter: Jagadesh Kiran N
>            Assignee: Jagadesh Kiran N
>         Attachments: HDFS-9338-00.patch
>
>
> {code}
>  curl -i -X PUT "http://10.19.92.127:50070/webhdfs/v1/kiran/?op=REMOVEXATTR&xattr.name="
> or
>  curl -i -X PUT "http://10.19.92.127:50070/webhdfs/v1/kiran/?op=REMOVEXATTR"
> {code}
> {code}
> {"RemoteException":{"exception":"NullPointerException","javaClassName":"java.lang.NullPointerException","message":"XAttr name cannot be null."}}
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)