brien colwell wrote:
Actually Ubuntu comes out of the box with an entry in the hosts file
(/etc/hosts) that maps the computer name to the loopback address. (btw
I'm not sure if this is specific to Ubuntu) The effect is that all name
lookups from the machine for itself resolve to 127.0.0.1. We've seen
Hadoop daemons on Ubuntu bind their sockets to the loopback address,
which will not accept requests from the outside. Symptoms here are that
the cluster works on a single machine but will not distribute.
Just check your netstat tables for the addresses on which the Hadoop
daemons are bound. They should be external addresses. The solution we
use is to remove the entry in the hosts file.
yes, this really annoys me.
http://jira.smartfrog.org/jira/browse/SFOS-1191
And others.
https://bugs.launchpad.net/ubuntu/+source/netcfg/+bug/234543
caused by this
https://bugs.launchpad.net/ubuntu/+bug/94048
It was done to help people on desktops and laptops, but it stops your
machine working well over the network.