hadoop-hdfs-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Brahma Reddy Battula (Created) (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HDFS-2940) Null pointer excpetion while Formating NameNode(After Configuring HA)
Date Sun, 12 Feb 2012 15:36:59 GMT
Null pointer excpetion while Formating NameNode(After Configuring HA)
---------------------------------------------------------------------

                 Key: HDFS-2940
                 URL: https://issues.apache.org/jira/browse/HDFS-2940
             Project: Hadoop HDFS
          Issue Type: Bug
          Components: name-node
    Affects Versions: 0.24.0
            Reporter: Brahma Reddy Battula
            Priority: Minor
             Fix For: 0.24.0


Scenario:
=========

Step 1: I configured all Ha related configurations

Step 2 : I formated NN using (./hdfs namenode -format) format command


Please check following Trace:

{noformat}

Formatting using clusterid: CID-26a49fe8-abed-4d80-b02d-eeceb86dbd53
12/02/12 20:57:46 ERROR namenode.NameNode: Exception in namenode join
java.lang.NullPointerException
	at org.apache.hadoop.net.NetUtils.isLocalAddress(NetUtils.java:640)
	at org.apache.hadoop.hdfs.DFSUtil$4.match(DFSUtil.java:115)
	at org.apache.hadoop.hdfs.DFSUtil.getSuffixIDs(DFSUtil.java:934)
	at org.apache.hadoop.hdfs.DFSUtil.getNameServiceId(DFSUtil.java:890)
	at org.apache.hadoop.hdfs.DFSUtil.getNamenodeNameServiceId(DFSUtil.java:850)
	at org.apache.hadoop.hdfs.server.namenode.FSImage.<init>(FSImage.java:129)
	at org.apache.hadoop.hdfs.server.namenode.NameNode.format(NameNode.java:689)
	at org.apache.hadoop.hdfs.server.namenode.NameNode.createNameNode(NameNode.java:817)
	at org.apache.hadoop.hdfs.server.namenode.NameNode.main(NameNode.java:894)
12/02/12 20:57:46 INFO namenode.NameNode: SHUTDOWN_MSG: 
/************************************************************
SHUTDOWN_MSG: Shutting down NameNode at HOST-10-18-40-20/10.18.40.20

{noformat}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message