Not a host:port pair: local

2010-11-19 Thread Skye Berghel
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.(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


mapreduce.jobtracker.address
myserver:
the jobtracker server

which means that the jobtracker shouldn't be set to local in the first 
place.


Does anyone have any pointers?

Thanks,
Skye Berghel


Re: Not a host:port pair: local

2010-11-19 Thread Skye Berghel

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" 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  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.(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

mapreduce.jobtracker.address
myserver:
the jobtracker server

which means that the jobtracker shouldn't be set to local in the first
place.

Does anyone have any pointers?

Thanks,
Skye Berghel







Re: Not a host:port pair: local

2010-11-23 Thread Skye Berghel

On 11/19/2010 10:07 PM, Harsh J wrote:

How are you starting your JobTracker by the way?


With bin/start-mapred.sh (from the Hadoop installation).

--Skye