Specifying the IP address gave the same error.

I did a grep -R through the XML configuration files and couldn't find another place where anything was set to local.

--Skye

On 11/19/2010 06:08 PM, Aaron Eng wrote:
Maybe try doing a "grep -R local<hadoop dir>" to see if its picking it up
from somewhere in there.  Also, maybe try specifying an actual IP instead of
myserver as a test to see if name resolution is an issue.

On Fri, Nov 19, 2010 at 5:56 PM, Skye Berghel<sberg...@cs.hmc.edu>  wrote:

I'm trying to set up a Hadoop cluster. However, when I try to start the
JobTracker, I get the following error (which only shows up in the logfile on
the JobTracker server):

2010-11-19 17:41:15,977 FATAL org.apache.hadoop.mapred.JobTracker:
java.lang.RuntimeException: Not a host:port pair: local
        at
org.apache.hadoop.net.NetUtils.createSocketAddr(NetUtils.java:136)
        at
org.apache.hadoop.net.NetUtils.createSocketAddr(NetUtils.java:123)
        at
org.apache.hadoop.mapred.JobTracker.getAddress(JobTracker.java:1807)
        at org.apache.hadoop.mapred.JobTracker.<init>(JobTracker.java:1579)
        at
org.apache.hadoop.mapred.JobTracker.startTracker(JobTracker.java:183)
        at
org.apache.hadoop.mapred.JobTracker.startTracker(JobTracker.java:175)
        at org.apache.hadoop.mapred.JobTracker.main(JobTracker.java:3702)

2010-11-19 17:41:15,978 INFO org.apache.hadoop.mapred.JobTracker:
SHUTDOWN_MSG:
/************************************************************
SHUTDOWN_MSG: Shutting down JobTracker at facebook-l/134.173.43.9
************************************************************/

All of the information I've seen online suggests that this is because
mapreduce.jobtracker.address is set to local. However, in
conf/mapred-site.xml I have
    <property>
        <name>mapreduce.jobtracker.address</name>
        <value>myserver:8888</value>
        <description>the jobtracker server</description>
    </property>
which means that the jobtracker shouldn't be set to local in the first
place.

Does anyone have any pointers?

Thanks,
Skye Berghel



Reply via email to