hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hiller, Dean (Contractor)" <dean.hil...@broadridge.com>
Subject jobtracker start and mapred.job.tracker is using local
Date Wed, 08 Dec 2010 00:49:47 GMT
This is for those people that get the typical 

 

2010-12-07 10:10:22,537 FATAL org.apache.hadoop.mapred.JobTracker:
java.lang.Run

timeException: 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)

 

You can do it the long way and add this to hadoop file....(and run
./hadoop jobtracker)....

 

#uncomment to debug processes

export HADOOP_OPTS="-Xdebug
-Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=9009
$HADOOP_OPTS"

 

to the next to last line in hadoop(it would be GREAT if a developer
would put that in there commented out or like jboss's run.conf, have it
there for developers to easily turn on debugging).

 

Anyways, stepping through the code, you finally find out, it is using
not hdfs-site but mapred-site.xml so move your properties to that file.
This is just for the next person that might get stuck on this issue.  I
didn't see that in the docs or was using the wrong outdated docs or
something.

 

Thanks,

Dean

 

 


This message and any attachments are intended only for the use of the addressee and
may contain information that is privileged and confidential. If the reader of the 
message is not the intended recipient or an authorized representative of the
intended recipient, you are hereby notified that any dissemination of this
communication is strictly prohibited. If you have received this communication in
error, please notify us immediately by e-mail and delete the message and any
attachments from your system.

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message