You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-dev@hadoop.apache.org by "Arpit Gupta (Created) (JIRA)" <ji...@apache.org> on 2011/10/10 22:54:29 UTC
[jira] [Created] (HDFS-2428) webhdfs mkdir call fails with a 500
when an invalid permission is sent, we should return a 400
webhdfs mkdir call fails with a 500 when an invalid permission is sent, we should return a 400
----------------------------------------------------------------------------------------------
Key: HDFS-2428
URL: https://issues.apache.org/jira/browse/HDFS-2428
Project: Hadoop HDFS
Issue Type: Bug
Reporter: Arpit Gupta
PUT Request: http://localhost:50070/webhdfs/some_path?op=MKDIRS&permission=955
Exception returned
HTTP/1.1 500 Internal Server Error
{"RemoteException":{"className":"com.sun.jersey.api.ParamException$QueryParamException","message":"java.lang.NumberFormatException: For input string: \"955\""}}
We should return a 400 with appropriate error message
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira