On Tue, Jun 9, 2009 at 11:59 AM, Steve Loughran<ste...@apache.org> wrote: > John Martyniak wrote: >> >> When I run either of those on either of the two machines, it is trying to >> resolve against the DNS servers configured for the external addresses for >> the box. >> >> Here is the result >> Server: xxx.xxx.xxx.69 >> Address: xxx.xxx.xxx.69#53 > > OK. in an ideal world, each NIC has a different hostname. Now, that confuses > code that assumes a host has exactly one hostname, not zero or two, and I'm > not sure how well Hadoop handles the 2+ situation (I know it doesn't like 0, > but hey, its a distributed application). With separate hostnames, you set > hadoop up to work on the inner addresses, and give out the inner hostnames > of the jobtracker and namenode. As a result, all traffic to the master nodes > should be routed on the internal network >
Also a subtle issue that I run into is full or partial host names. Even though all my configuration files reference full host names server1.domain.com. The name node web interface will redirect people to http://server1 probably because that is the system hostname. In my case it is a big deal but it is something to consider during setup.