hadoop-hdfs-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Arpit Gupta (Resolved) (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (HDFS-2429) webhdfs delete a path that does not exists returns a 200, we should return a 404
Date Tue, 25 Oct 2011 21:48:33 GMT

     [ https://issues.apache.org/jira/browse/HDFS-2429?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Arpit Gupta resolved HDFS-2429.
-------------------------------

          Resolution: Invalid
    Target Version/s: 0.20.205.1, 0.23.0, 0.24.0  (was: 0.24.0, 0.23.0, 0.20.205.1)

resolving it as invalid as 200 is fine when the resource does not exist and is being deleted.
This is the expected response.
                
> 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

        

Mime
View raw message