[ https://issues.apache.org/jira/browse/HDFS-2440?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13131890#comment-13131890 ]
Arpit Gupta commented on HDFS-2440: ----------------------------------- Also GETFILECHECKSUM rest api throws a 500 when called on a dir. We should throw a 403 with the appropriate message stating why so the user can determine why the call failed. > webhdfs open a file and send 0 or invalid bufferSize,length, offest throws a > 500, we should throw a 400 > ------------------------------------------------------------------------------------------------------- > > Key: HDFS-2440 > URL: https://issues.apache.org/jira/browse/HDFS-2440 > Project: Hadoop HDFS > Issue Type: Bug > Affects Versions: 0.20.205.0 > Reporter: Arpit Gupta > -- 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