hadoop-common-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marc Sturlese <marc.sturl...@gmail.com>
Subject datanode can not connect to the namenode
Date Sun, 14 Feb 2010 22:37:50 GMT

Hey there I have a hadoop cluster build with 2 servers. One node (A) contains
the namenode, a datanode, the jobtraker and a tasktraker.
The other node(B) just has a datanode and a tasktraker.
I set up correctly hdfs with ./start-hdfs.sh

When I try to set up MapReduce with ./start-mapred.sh the TaskTraker of node
(B) can not connect to the namenode. The log will keep throwing:

INFO org.apache.hadoop.ipc.Client: Retrying connect to server:
mynamenode/ Already tried 8 time(s)

I think maybe something is missing in /etc/hosts file or this hadoop
property is not set correctly:
    The address where the datanode server will listen to.
    If the port is 0 then the server will start on a free port.

I try on the namenode:
telnet localhost 8021
telnet 8021
Both cases I get:
telnet: Unable to connect to remote host: Connection refused

Has someone experienced this problem before?
Thanks in advance

View this message in context: http://old.nabble.com/datanode-can-not-connect-to-the-namenode-tp27587051p27587051.html
Sent from the Hadoop lucene-users mailing list archive at Nabble.com.

View raw message