FAQ
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.

Search Discussions

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupcommon-dev @
categorieshadoop
postedJun 3, '10 at 11:27a
activeJun 3, '10 at 11:27a
posts1
users1
websitehadoop.apache.org...
irc#hadoop

1 user in discussion

GIRISH N IYER (JIRA): 1 post

People

Translate

site design / logo © 2022 Grokbase