Return-Path: X-Original-To: apmail-hadoop-hdfs-dev-archive@minotaur.apache.org Delivered-To: apmail-hadoop-hdfs-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 75DB3D74C for ; Wed, 15 Aug 2012 23:28:39 +0000 (UTC) Received: (qmail 96905 invoked by uid 500); 15 Aug 2012 23:28:38 -0000 Delivered-To: apmail-hadoop-hdfs-dev-archive@hadoop.apache.org Received: (qmail 96792 invoked by uid 500); 15 Aug 2012 23:28:38 -0000 Mailing-List: contact hdfs-dev-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: hdfs-dev@hadoop.apache.org Delivered-To: mailing list hdfs-dev@hadoop.apache.org Received: (qmail 96714 invoked by uid 99); 15 Aug 2012 23:28:38 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 15 Aug 2012 23:28:38 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 303832C5BE6 for ; Wed, 15 Aug 2012 23:28:38 +0000 (UTC) Date: Thu, 16 Aug 2012 10:28:38 +1100 (NCT) From: "Tsz Wo (Nicholas), SZE (JIRA)" To: hdfs-dev@hadoop.apache.org Message-ID: <2097316065.16780.1345073318198.JavaMail.jiratomcat@arcas> In-Reply-To: <1420166651.58632.1342457314819.JavaMail.jiratomcat@issues-vm> Subject: [jira] [Resolved] (HDFS-3670) WebHDFS have a "not-enabled" return code instead of using file not found MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HDFS-3670?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tsz Wo (Nicholas), SZE resolved HDFS-3670. ------------------------------------------ Resolution: Not A Problem Let's close this as not-a-problem. > 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: 1.0.0, 2.0.0-alpha > Reporter: Eli Collins > Assignee: Tsz Wo (Nicholas), SZE > > 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. > {code} > 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 > {code} -- 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