Return-Path: Delivered-To: apmail-lucene-hadoop-dev-archive@locus.apache.org Received: (qmail 26397 invoked from network); 7 Feb 2007 16:52:28 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 7 Feb 2007 16:52:28 -0000 Received: (qmail 99810 invoked by uid 500); 7 Feb 2007 16:52:35 -0000 Delivered-To: apmail-lucene-hadoop-dev-archive@lucene.apache.org Received: (qmail 99565 invoked by uid 500); 7 Feb 2007 16:52:33 -0000 Mailing-List: contact hadoop-dev-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: hadoop-dev@lucene.apache.org Delivered-To: mailing list hadoop-dev@lucene.apache.org Received: (qmail 99548 invoked by uid 99); 7 Feb 2007 16:52:33 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 07 Feb 2007 08:52:33 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 07 Feb 2007 08:52:26 -0800 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id E13177142CC for ; Wed, 7 Feb 2007 08:52:05 -0800 (PST) Message-ID: <27788704.1170867125920.JavaMail.jira@brutus> Date: Wed, 7 Feb 2007 08:52:05 -0800 (PST) From: "Andrew McNabb (JIRA)" To: hadoop-dev@lucene.apache.org Subject: [jira] Commented: (HADOOP-685) DataNode appears to require DNS name resolution as opposed to direct ip mapping In-Reply-To: <3111837.1162861477100.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-685?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12471026 ] Andrew McNabb commented on HADOOP-685: -------------------------------------- I agree with Marco. When machines have multiple interfaces, automatic resolution of hostnames always seems to be problematic. > DataNode appears to require DNS name resolution as opposed to direct ip mapping > ------------------------------------------------------------------------------- > > Key: HADOOP-685 > URL: https://issues.apache.org/jira/browse/HADOOP-685 > Project: Hadoop > Issue Type: Improvement > Components: dfs > Environment: osx, ubuntu 6.10b > Reporter: James Todd > Assigned To: Raghu Angadi > Priority: Minor > > DataNode appears to require DNS resolution of nodes via the class org.apache.hadoop.net.DNS as opposed being able to use a specified ip. > as an example, i was not able to set up more then one instance of dfs datanodes on one box using loopback w/ varying ports since DataNode > resolved the ip of 127.0.0.1 to be "foo.bar" which was then mapped to the dhcp allocated ip of 192.168.0.***, which was not addressable by the > rest of the dfs cluster (namely namenode). > while this example is trivial one should be able to use the very same process yet change only the ip's of the nodes and have things work as > expected. > it would be nice to not always require nds resolution. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.