hadoop-hdfs-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Eli Collins (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HDFS-3670) WebHDFS have a "not-enabled" return code instead of using file not found
Date Mon, 16 Jul 2012 16:48:34 GMT
Eli Collins created HDFS-3670:

             Summary: WebHDFS have a "not-enabled" return code instead of using file not found
                 Key: HDFS-3670
                 URL: https://issues.apache.org/jira/browse/HDFS-3670
             Project: Hadoop HDFS
          Issue Type: Bug
          Components: webhdfs
    Affects Versions: 2.0.0-alpha
            Reporter: Eli Collins

WebHDFS (and HttpFs if it doesn't already) should have a return code indicating they are not
enabled. Currently you get eg a file not found if webhdfs is not enabled which isn't intuitive.

hadoop-3.0.0-SNAPSHOT $ ./bin/hadoop fs -get webhdfs://localhost:50070/user/eli/temp.json
get: Unexpected HTTP response: code=404 != 200, op=GETFILESTATUS, message=Not Found

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


View raw message