Michael Lynch wrote:
Hi,
As far as I can tell I've followed the setup instructions for a hadoop
cluster to the letter,
but I find that the datanodes can't connect to the namenode on port 9000
because it is only
listening for connections from localhost.
In my case, the namenode is called centos1, and the datanode is called
centos2. They are
centos 5.1 servers with an unmodified sun java 6 runtime.
fs.default.name takes a URL to the filesystem. such as hdfs://centos1:9000/
If the machine is only binding to localhost, that may mean DNS fun. Try
a fully qualified name instead