[ https://issues.apache.org/jira/browse/HDFS-2428?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13136483#comment-13136483 ]
Hudson commented on HDFS-2428: ------------------------------ Integrated in Hadoop-Common-0.23-Commit #64 (See [https://builds.apache.org/job/Hadoop-Common-0.23-Commit/64/]) svn merge -c 1183098 from trunk for HDFS-2428. szetszwo : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1189486 Files : * /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs * /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt * /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/src/main/java * /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/web/JsonUtil.java * /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/web/resources/ExceptionHandler.java > webhdfs api parameter validation should be better > ------------------------------------------------- > > Key: HDFS-2428 > URL: https://issues.apache.org/jira/browse/HDFS-2428 > Project: Hadoop HDFS > Issue Type: Sub-task > Affects Versions: 0.20.205.0 > Reporter: Arpit Gupta > Assignee: Tsz Wo (Nicholas), SZE > Fix For: 0.20.205.1, 0.23.0, 0.24.0 > > Attachments: h2428_20111011.patch, h2428_20111011_0.20s.patch > > > 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