hadoop-common-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sumit Shangari <sumit.shang...@one97.net>
Subject NPE while starting NameNode
Date Thu, 05 Nov 2009 10:06:20 GMT
I am trying to set up Hadoop on Linux Box.

Upon running start-all.sh following null pointer exception is being thrown
in NameNode and dataNode logs.

2008-09-30 18:14:07,565 ERROR
org.apache.hadoop.hdfs.server.datanode.DataNode:
java.lang.NullPointerException
       at org.apache.hadoop.net.NetUtils.createSocketAddr(NetUtils.java:132)
       at
org.apache.hadoop.hdfs.server.namenode.NameNode.getAddress(NameNode.java:130)
       at
org.apache.hadoop.hdfs.server.namenode.NameNode.getAddress(NameNode.java:134)
       at
org.apache.hadoop.hdfs.server.datanode.DataNode.startDataNode(DataNode.java:235)
       at
org.apache.hadoop.hdfs.server.datanode.DataNode.<init>(DataNode.java:205)
       at
org.apache.hadoop.hdfs.server.datanode.DataNode.makeInstance(DataNode.java:1199)
       at
org.apache.hadoop.hdfs.server.datanode.DataNode.instantiateDataNode(DataNode.java:1154)
       at
org.apache.hadoop.hdfs.server.datanode.DataNode.createDataNode(DataNode.java:1162)
       at
org.apache.hadoop.hdfs.server.datanode.DataNode.main(DataNode.java:1284


 I Have already set fs.default.name IN CORE-SITE.XML
        <property>
                <name>fs.dafault.name</name>
                <value>hdfs://localhost:9000</value>
        </property>
After spending some time on google regarding this issue,it looks like  I am
missing some configuration .
But still I am not able to pin point the cause of this Exception.

Any Help will be appreciated.

-- 
Thanks and Regards,

Sumit Shangari
Sr. Software Engineer - Engineering
One97 Communications (P) Ltd
B121, Sector 5, Noida, UP 201301

P:  + 91 120 4770770
W: www.one97world.com

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