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

Arpit Gupta commented on HDFS-2429:
-----------------------------------

If we can determine that delete did not succeed, we should rather throw a 404 
back to the user with the appropriate error message
                
> webhdfs delete a path that does not exists returns a 200, we should return a 
> 404
> --------------------------------------------------------------------------------
>
>                 Key: HDFS-2429
>                 URL: https://issues.apache.org/jira/browse/HDFS-2429
>             Project: Hadoop HDFS
>          Issue Type: Bug
>    Affects Versions: 0.20.205.0
>            Reporter: Arpit Gupta
>            Priority: Minor
>
> Request URI http://NN:50070/webhdfs/some_path_that_does_not_exists?op=DELETE
> Request Method: DELETE
> Status Line: HTTP/1.1 200 OK
> Request Content: {"boolean":false}

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

        

Reply via email to