Return-Path: Delivered-To: apmail-hadoop-core-user-archive@www.apache.org Received: (qmail 85322 invoked from network); 10 Jun 2009 16:30:53 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 10 Jun 2009 16:30:53 -0000 Received: (qmail 95647 invoked by uid 500); 10 Jun 2009 16:31:02 -0000 Delivered-To: apmail-hadoop-core-user-archive@hadoop.apache.org Received: (qmail 95568 invoked by uid 500); 10 Jun 2009 16:31:02 -0000 Mailing-List: contact core-user-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: core-user@hadoop.apache.org Delivered-To: mailing list core-user@hadoop.apache.org Received: (qmail 95558 invoked by uid 99); 10 Jun 2009 16:31:02 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 10 Jun 2009 16:31:02 +0000 X-ASF-Spam-Status: No, hits=-2.8 required=10.0 tests=RCVD_IN_DNSWL_MED,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [192.6.10.2] (HELO colossus.hpl.hp.com) (192.6.10.2) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 10 Jun 2009 16:30:52 +0000 Received: from localhost (localhost [127.0.0.1]) by colossus.hpl.hp.com (Postfix) with ESMTP id 496E61BA3E0 for ; Wed, 10 Jun 2009 17:30:30 +0100 (BST) X-Virus-Scanned: Debian amavisd-new at hpl.hp.com Received: from colossus.hpl.hp.com ([127.0.0.1]) by localhost (colossus.hpl.hp.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id yzOTmjvlv98O for ; Wed, 10 Jun 2009 17:30:30 +0100 (BST) Received: from 0-imap-br1.hpl.hp.com (0-imap-br1.hpl.hp.com [16.25.144.60]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by colossus.hpl.hp.com (Postfix) with ESMTPS id BF91C1BA3BB for ; Wed, 10 Jun 2009 17:30:29 +0100 (BST) MailScanner-NULL-Check: 1245256219.54519@91+bAEc4rf4I2+HkR4sQuw Received: from [16.25.171.118] (morzine.hpl.hp.com [16.25.171.118]) by 0-imap-br1.hpl.hp.com (8.14.1/8.13.4) with ESMTP id n5AGUI3L007604 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Wed, 10 Jun 2009 17:30:19 +0100 (BST) Message-ID: <4A2FDF9A.7060408@apache.org> Date: Wed, 10 Jun 2009 17:30:18 +0100 From: Steve Loughran User-Agent: Thunderbird 2.0.0.21 (X11/20090302) MIME-Version: 1.0 To: core-user@hadoop.apache.org Subject: Re: Multiple NIC Cards References: <6337F738-2974-4409-B90F-806F233A41A8@beforedawnsolutions.com> <4A2E47E0.8030603@gmail.com> <8DB9584A-961F-4BB7-AD5C-8EBBC07978B4@avum.com> <4A2E62EB.3040903@apache.org> <4A2E6796.6040209@apache.org> <32254647-BB85-4532-9675-BA508021CFAA@avum.com> <4A2E6EF8.1000003@apache.org> <86CA181C-E516-4C8B-B3B5-51F609B67AAC@avum.com> <4A2EB543.8040308@yahoo-inc.com> <095103D8-25FC-49A4-8C53-FFC0216F3319@beforedawnsolutions.com> In-Reply-To: <095103D8-25FC-49A4-8C53-FFC0216F3319@beforedawnsolutions.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-HPL-MailScanner-Information: Please contact the ISP for more information X-MailScanner-ID: n5AGUI3L007604 X-HPL-MailScanner: Found to be clean X-HPL-MailScanner-From: stevel@apache.org X-Virus-Checked: Checked by ClamAV on apache.org John Martyniak wrote: > Does hadoop "cache" the server names anywhere? Because I changed to > using DNS for name resolution, but when I go to the nodes view, it is > trying to view with the old name. And I changed the hadoop-site.xml > file so that it no longer has any of those values. > in SVN head, we try and get Java to tell us what is going on http://svn.apache.org/viewvc/hadoop/core/trunk/src/core/org/apache/hadoop/net/DNS.java This uses InetAddress.getLocalHost().getCanonicalHostName() to get the value, which is cached for life of the process. I don't know of anything else, but wouldn't be surprised -the Namenode has to remember the machines where stuff was stored.