hadoop-common-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dean Ho" <gettin...@gmail.com>
Subject I am tired, Error, Not a host:port pair: local
Date Fri, 20 Jun 2008 23:50:11 GMT
Hello,

I am following this blog,
http://www.michael-noll.com/wiki/Running_Hadoop_On_Ubuntu_Linux_%28Single-Node_Cluster%29,
instructions to get single hadoop node running.  Unfortunately, I am getting
NullPointerException when I start hadoop with ./start-all.sh.

Another question I have is regarding hadoop-site.xml, where I have set
hadoop.tmp.dir to be /home/hadoop/hadoop-datastore.  But hadoop is creating
dfs in  /tmp/hadoop-hadoop/dfs?


Java Version:

[joe@hadoop1 ~]$ java -version
java version "1.6.0_06"
Java(TM) SE Runtime Environment (build 1.6.0_06-b02)
Java HotSpot(TM) Client VM (build 10.0-b22, mixed mode)

Hadoop version:
hadoop-0.17.0


[hadoop@hadoop1 bin]$ ./start-all.sh
starting namenode, logging to
/usr/local/hadoop/bin/../logs/hadoop-hadoop-namenode-hadoop1.out
localhost: starting datanode, logging to
/usr/local/hadoop/bin/../logs/hadoop-hadoop-datanode-hadoop1.out
localhost: starting secondarynamenode, logging to
/usr/local/hadoop/bin/../logs/hadoop-hadoop-secondarynamenode-hadoop1.out
localhost: Exception in thread "main" java.lang.NullPointerException
localhost:      at
org.apache.hadoop.net.NetUtils.createSocketAddr(NetUtils.java:119)
localhost:      at
org.apache.hadoop.dfs.SecondaryNameNode.<init>(SecondaryNameNode.java:118)
localhost:      at
org.apache.hadoop.dfs.SecondaryNameNode.main(SecondaryNameNode.java:495)
starting jobtracker, logging to
/usr/local/hadoop/bin/../logs/hadoop-hadoop-jobtracker-hadoop1.out
localhost: starting tasktracker, logging to
/usr/local/hadoop/bin/../logs/hadoop-hadoop-tasktracker-hadoop1.out

[joe@hadoop1 logs]$ vi hadoop-hadoop-jobtracker-hadoop1.log
************************************************************/
2008-06-20 16:28:35,086 INFO org.apache.hadoop.mapred.JobTracker:
STARTUP_MSG:
/************************************************************
STARTUP_MSG: Starting JobTracker
STARTUP_MSG:   host = hadoop1/192.168.0.2
STARTUP_MSG:   args = []
STARTUP_MSG:   version = 0.17.0
STARTUP_MSG:   build =
http://svn.apache.org/repos/asf/hadoop/core/branches/branch-0.17 -r 656523;
compiled by 'hadoopqa' on Thu May 15 07:22:55 UTC 2008
************************************************************/
2008-06-20 16:28:35,181 FATAL org.apache.hadoop.mapred.JobTracker:
java.lang.RuntimeException: Not a host:port pair: local
        at
org.apache.hadoop.net.NetUtils.createSocketAddr(NetUtils.java:121)
        at
org.apache.hadoop.mapred.JobTracker.getAddress(JobTracker.java:768)
        at org.apache.hadoop.mapred.JobTracker.<init>(JobTracker.java:659)
        at
org.apache.hadoop.mapred.JobTracker.startTracker(JobTracker.java:141)
        at org.apache.hadoop.mapred.JobTracker.main(JobTracker.java:2319)

2008-06-20 16:28:35,182 INFO org.apache.hadoop.mapred.JobTracker:
SHUTDOWN_MSG:
/************************************************************
SHUTDOWN_MSG: Shutting down JobTracker at hadoop1/192.168.0.2
************************************************************/

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