Return-Path: Delivered-To: apmail-hadoop-core-dev-archive@www.apache.org Received: (qmail 44828 invoked from network); 15 Apr 2008 11:20:10 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 15 Apr 2008 11:20:10 -0000 Received: (qmail 33445 invoked by uid 500); 15 Apr 2008 11:20:10 -0000 Delivered-To: apmail-hadoop-core-dev-archive@hadoop.apache.org Received: (qmail 33427 invoked by uid 500); 15 Apr 2008 11:20:10 -0000 Mailing-List: contact core-dev-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: core-dev@hadoop.apache.org Delivered-To: mailing list core-dev@hadoop.apache.org Received: (qmail 33417 invoked by uid 99); 15 Apr 2008 11:20:10 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 15 Apr 2008 04:20:10 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 15 Apr 2008 11:19:26 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id D22C4234C0D3 for ; Tue, 15 Apr 2008 04:17:04 -0700 (PDT) Message-ID: <1106465437.1208258224859.JavaMail.jira@brutus> Date: Tue, 15 Apr 2008 04:17:04 -0700 (PDT) From: "Amar Kamat (JIRA)" To: core-dev@hadoop.apache.org Subject: [jira] Commented: (HADOOP-3251) hod generated hadoop-site.xml causes hadoop to throw a WARM message on command line when a hadoop command is executed In-Reply-To: <316681775.1208207225427.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HADOOP-3251?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12589030#action_12589030 ] Amar Kamat commented on HADOOP-3251: ------------------------------------ It seems that {{FileSystem#getName()}} is the cause of the problem. {{FileSystem#getName()}} is a deprecated api and should ideally call {{FileSystem#getUri().toString()}} which is not the case. There are two ways to overcome this : 1) Replace all the occurrences of {{FileSystem.getName()}} with {{FileSystem.getUri().toString()}} OR 2) Fix the deprecated {{FileSystem.getName()}} api to call {{getUri().toString()}}. (1) will result into a big patch while (2) will be a small one. I think we should to go for (2) since this is a blocker for 0.17, comments? > hod generated hadoop-site.xml causes hadoop to throw a WARM message on command line when a hadoop command is executed > --------------------------------------------------------------------------------------------------------------------- > > Key: HADOOP-3251 > URL: https://issues.apache.org/jira/browse/HADOOP-3251 > Project: Hadoop Core > Issue Type: Bug > Components: mapred > Affects Versions: 0.17.0 > Reporter: Mukund Madhugiri > Assignee: Devaraj Das > Priority: Blocker > > When a cluster is allocated thru HoD, dfs commands throw a WARN message on the command line. This does not affect the cluster functionality, but is bad user experience. Hence, marking this a blocker for 0.17.0 > The message is: > 08/04/14 20:53:46 WARN fs.FileSystem: "namenode:59440" is a deprecated filesystem name. Use "hdfs://namenode:59440/" instead. > The entries in HoD generated hadoop-site.xml should be changed to use *hdfs://namenode*, instead of just *namenode* -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.