FAQ
NPE when core-site.xml is misconfirued with hos:port is missing in the default filesystem's uri
-----------------------------------------------------------------------------------------------

Key: HDFS-2358
URL: https://issues.apache.org/jira/browse/HDFS-2358
Project: Hadoop HDFS
Issue Type: Bug
Components: name-node
Affects Versions: 0.20.204.0
Reporter: Rajit





in core-site.xml if default filesystem's uri is misconfigured , NN does not come up and in NN shows NPE

java.lang.NullPointerException
at org.apache.hadoop.net.NetUtils.createSocketAddr(NetUtils.java:142)
at org.apache.hadoop.hdfs.server.namenode.NameNode.getAddress(NameNode.java:195)
at org.apache.hadoop.hdfs.server.namenode.NameNode.getAddress(NameNode.java:225)
at org.apache.hadoop.hdfs.server.namenode.NameNode.initialize(NameNode.java:259)
at org.apache.hadoop.hdfs.server.namenode.NameNode.(NameNode.java:1226)
at org.apache.hadoop.hdfs.server.namenode.NameNode.main(NameNode.java:1235)


It is better to give meaningful error messege than NPE

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Search Discussions

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
grouphdfs-dev @
categorieshadoop
postedSep 22, '11 at 8:18p
activeSep 22, '11 at 8:18p
posts1
users1
websitehadoop.apache.org...
irc#hadoop

1 user in discussion

Rajit (JIRA): 1 post

People

Translate

site design / logo © 2022 Grokbase