Hey there I have a hadoop cluster build on 2 servers (2 laptops). 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 tasktracker log will
keep throwing:
INFO org.apache.hadoop.ipc.Client: Retrying connect to server: mynamenode/192.168.0.13:8021. Already tried 8 time(s)
("mynamenode" and "192.168.0.13" are coorect)
I have properly set the properties:
fs.default.name
dfs.name.dir
dfs.data.dir
fs.checkpoint.dir
mapred.job.tracker
mapred.local.dir
mapred.system.dir,
I think maybe I am missing something in /etc/hosts file or this hadoop property is not set correctly:
<property>
<name>dfs.datanode.address</name>
<value>0.0.0.0:50010</value>
<description>
The address where the datanode server will listen to.
If the port is 0 then the server will start on a free port.
</description>
</property>
I have noticed I can not telnet to the 8021 port even from the server containing the namenode (as localhost):
telnet localhost 8021
telnet 192.168.0.13 8021
Both cases I get:
telnet: Unable to connect to remote host: Connection refused
Has someone experienced this problem before?
*both servers can connect to each other via passwordless ssh without problems.
I am running hadoop 0.19.2
Thanks in advance
Tags:
Share
Facebook
You need to be a member of Hadoop Professionals to add comments!
Join Hadoop Professionals