Return-Path: X-Original-To: apmail-hadoop-common-dev-archive@www.apache.org Delivered-To: apmail-hadoop-common-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 812E11155E for ; Thu, 19 Jun 2014 13:14:29 +0000 (UTC) Received: (qmail 92943 invoked by uid 500); 19 Jun 2014 13:14:26 -0000 Delivered-To: apmail-hadoop-common-dev-archive@hadoop.apache.org Received: (qmail 92841 invoked by uid 500); 19 Jun 2014 13:14:26 -0000 Mailing-List: contact common-dev-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: common-dev@hadoop.apache.org Delivered-To: mailing list common-dev@hadoop.apache.org Received: (qmail 92713 invoked by uid 99); 19 Jun 2014 13:14:26 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 19 Jun 2014 13:14:26 +0000 Date: Thu, 19 Jun 2014 13:14:26 +0000 (UTC) From: "jay vyas (JIRA)" To: common-dev@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (HADOOP-10723) FileSystem deprecated filesystem name warning : Make error message HCFS compliant MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 jay vyas created HADOOP-10723: --------------------------------- Summary: FileSystem deprecated filesystem name warning : Make error message HCFS compliant Key: HADOOP-10723 URL: https://issues.apache.org/jira/browse/HADOOP-10723 Project: Hadoop Common Issue Type: Bug Components: fs Reporter: jay vyas We've found that if we have an alternative filesystem (i.e. xyz://) and we enter it without slashes, we get an hdfs specific error message: {{hadoop fs -fs xyz: -mkdir -p /foo/bar}} Yields an error message which suggests an hdfs URI. {noformat} # hadoop fs -fs xyzfs: -mkdir -p /foo/bar 14/06/12 17:57:24 WARN fs.FileSystem: "xyz:" is a deprecated filesystem name. Use "hdfs://xyz:/" instead. {noformat} Would be better if the error message threw an Exception (as suggested in the comments) and was something that didnt hardcode the hdfs uri to the beggining, as its very confusing when running on any alternative filesystem. -- This message was sent by Atlassian JIRA (v6.2#6252)