Details
Description
Scenario:
=========
Step 1: I configured all Ha related configurations
Step 2 : I formatted NN using (./hdfs namenode -format) format command
Please check following Trace:
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