hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "GIRISH N IYER (JIRA)" <j...@apache.org>
Subject [jira] Created: (HADOOP-6806) While running HADOOP "Exception in thread "main" java.lang.NullPointerException " occurs
Date Thu, 03 Jun 2010 11:27:06 GMT
While running HADOOP "Exception in thread "main" java.lang.NullPointerException " occurs
----------------------------------------------------------------------------------------

                 Key: HADOOP-6806
                 URL: https://issues.apache.org/jira/browse/HADOOP-6806
             Project: Hadoop Common
          Issue Type: Task
         Environment: CentOS  5.0 
            Reporter: GIRISH N IYER


hi,
while installin hadoop ... i can do the following step   
 "bin/hadoop namenode -format"...it got success
After when i do
 "bin/start-all.sh"....the following error occurs........

starting namenode, logging to /hadoop/hadoop/bin/../logs/hadoop-hadoop-namenode-localhost.localdomain.out
localhost: ssh: localhost: Name or service not known
hadoop@master's password: 
master: starting secondarynamenode, logging to /hadoop/hadoop/bin/../logs/hadoop-hadoop-secondarynamenode-localhost.localdomain.out
master: Exception in thread "main" java.lang.NullPointerException
master:         at org.apache.hadoop.net.NetUtils.createSocketAddr(NetUtils.java:134)
master:         at org.apache.hadoop.hdfs.server.namenode.NameNode.getAddress(NameNode.java:156)
master:         at org.apache.hadoop.hdfs.server.namenode.NameNode.getAddress(NameNode.java:160)
master:         at org.apache.hadoop.hdfs.server.namenode.SecondaryNameNode.initialize(SecondaryNameNode.java:131)
master:         at org.apache.hadoop.hdfs.server.namenode.SecondaryNameNode.<init>(SecondaryNameNode.java:115)
master:         at org.apache.hadoop.hdfs.server.namenode.SecondaryNameNode.main(SecondaryNameNode.java:469)
starting jobtracker, logging to /hadoop/hadoop/bin/../logs/hadoop-hadoop-jobtracker-localhost.localdomain.out
localhost: ssh: localhost: Name or service not known


Pls help me to solve this........

Also i did not configure 

"nano conf/core-site.xml"

"nano conf/hdfs-site.xml"

"nano conf/mapred-site.xml"


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message