Exception While Submitting a Mapreduce Job from Remote System

Exception while submitting a mapreduce job from remote system

Actually it was my configuration mistake:

I missed mapred.local.dir property in mapred-site.xml

 

<property>
<name>mapred.local.dir</name>
<value>/usr/local/hadoop-1.0.3/local</value>
</property>

ConnectException when submitting hadoop job from eclipse

Basically your namenode is listening on the localhost interface, therefore it allows connections only from 127.0.0.1. As you suggested, the error is indeed in the fs.default.name parameter, which should be modified to use the hostname instead of localhost.

Beware that /etc/hosts should contain a line like

192.168.2.216 hostname.fully.qualified.domain.com hostname

You can verify that the hostname is properly setting running the command "hostname" and "hostname -f". "hostname" should return the the name of the system as returned by gethostname, while "hostname -f" should return the fqdn of the system.



Related Topics



Leave a reply



Submit