hadoop-hdfs-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Uma Maheswara Rao G (Resolved) (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (HDFS-2940) HA: NullPointerException while formatting NameNode(After Configuring HA)
Date Tue, 21 Feb 2012 06:31:36 GMT

     [ https://issues.apache.org/jira/browse/HDFS-2940?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Uma Maheswara Rao G resolved HDFS-2940.
---------------------------------------

    Resolution: Duplicate
    
> HA: NullPointerException while formatting NameNode(After Configuring HA)
> ------------------------------------------------------------------------
>
>                 Key: HDFS-2940
>                 URL: https://issues.apache.org/jira/browse/HDFS-2940
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>          Components: ha, name-node
>    Affects Versions: HA branch (HDFS-1623)
>            Reporter: Brahma Reddy Battula
>            Assignee: Uma Maheswara Rao G
>            Priority: Minor
>         Attachments: core-site.xml, hdfs-site.xml
>
>
> Scenario:
> =========
> Step 1: I configured all Ha related configurations
> Step 2 : I formatted 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