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

Walter Su commented on HDFS-9338:
---------------------------------

Thanks [~jagadesh.kiran].
+1. Small patch I'll commit it tomorrow, if no further comments.

> 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)

Reply via email to