hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Arpit Gupta (Commented) (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-2439) webhdfs open an invalid path leads to a 500 which states a npe, we should return a 404 with appropriate error message
Date Tue, 11 Oct 2011 19:11:12 GMT

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

Arpit Gupta commented on HDFS-2439:
-----------------------------------

Request URI: http://NN:50070/webhdfs/this_is_invalid_path?op=OPEN
Request Method: GET
Status Line: HTTP/1.1 500 Internal Server Error
Response Content: {"RemoteException":{"className":"java.lang.NullPointerException","message":null}}

We should have a better check and return a 404
                
> webhdfs open an invalid path leads to a 500 which states a npe, we should return a 404
with appropriate error message
> ---------------------------------------------------------------------------------------------------------------------
>
>                 Key: HDFS-2439
>                 URL: https://issues.apache.org/jira/browse/HDFS-2439
>             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

        

Mime
View raw message