Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-15527

Error On adding new Namespace

VotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Blocker
    • Resolution: Not A Bug
    • 3.0.0
    • None
    • federation, ha, nn
    • None

    Description

      We have one namespace, trying to add other one, always getting below error message. 

       

      The new name nodes never be part of existing name space, also don't see any "nn" directories before adding name space.

       

      2020-08-12 04:59:53,947 WARN org.apache.hadoop.hdfs.server.namenode.FSNamesystem: Encountered exception loading fsimage
      java.io.IOException: NameNode is not formatted.
      at org.apache.hadoop.hdfs.server.namenode.FSImage.recoverTransitionRead(FSImage.java:237)
      at org.apache.hadoop.hdfs.server.namenode.FSNamesystem.loadFSImage(FSNamesystem.java:1084)
      at org.apache.hadoop.hdfs.server.namenode.FSNamesystem.loadFromDisk(FSNamesystem.java:709)
      at org.apache.hadoop.hdfs.server.namenode.NameNode.loadNamesystem(NameNode.java:665)
      at org.apache.hadoop.hdfs.server.namenode.NameNode.initialize(NameNode.java:727)
      at org.apache.hadoop.hdfs.server.namenode.NameNode.<init>(NameNode.java:950)
      at org.apache.hadoop.hdfs.server.namenode.NameNode.<init>(NameNode.java:929)
      at org.apache.hadoop.hdfs.server.namenode.NameNode.createNameNode(NameNode.java:1653)
      at org.apache.hadoop.hdfs.server.namenode.NameNode.main(NameNode.java:1720)
      2020-08-12 04:59:53,955 DEBUG org.apache.hadoop.hdfs.server.namenode.FSEditLog: Closing log when already closed

      ==============

       

       

      2020-08-12 04:59:53,976 ERROR org.apache.hadoop.hdfs.server.namenode.NameNode: Failed to start namenode.
      java.io.IOException: NameNode is not formatted.
      at org.apache.hadoop.hdfs.server.namenode.FSImage.recoverTransitionRead(FSImage.java:237)
      at org.apache.hadoop.hdfs.server.namenode.FSNamesystem.loadFSImage(FSNamesystem.java:1084)
      at org.apache.hadoop.hdfs.server.namenode.FSNamesystem.loadFromDisk(FSNamesystem.java:709)
      at org.apache.hadoop.hdfs.server.namenode.NameNode.loadNamesystem(NameNode.java:665)
      at org.apache.hadoop.hdfs.server.namenode.NameNode.initialize(NameNode.java:727)
      at org.apache.hadoop.hdfs.server.namenode.NameNode.<init>(NameNode.java:950)
      at org.apache.hadoop.hdfs.server.namenode.NameNode.<init>(NameNode.java:929)
      at org.apache.hadoop.hdfs.server.namenode.NameNode.createNameNode(NameNode.java:1653)
      at org.apache.hadoop.hdfs.server.namenode.NameNode.main(NameNode.java:1720)
      2020-08-12 04:59:53,978 DEBUG org.apache.hadoop.util.ExitUtil: Exiting with status 1: java.io.IOException: NameNode is not formatted.
      1: java.io.IOException: NameNode is not formatted.
      at org.apache.hadoop.util.ExitUtil.terminate(ExitUtil.java:265)
      at org.apache.hadoop.hdfs.server.namenode.NameNode.main(NameNode.java:1726)
      Caused by: java.io.IOException: NameNode is not formatted.
      at org.apache.hadoop.hdfs.server.namenode.FSImage.recoverTransitionRead(FSImage.java:237)
      at org.apache.hadoop.hdfs.server.namenode.FSNamesystem.loadFSImage(FSNamesystem.java:1084)
      at org.apache.hadoop.hdfs.server.namenode.FSNamesystem.loadFromDisk(FSNamesystem.java:709)
      at org.apache.hadoop.hdfs.server.namenode.NameNode.loadNamesystem(NameNode.java:665)
      at org.apache.hadoop.hdfs.server.namenode.NameNode.initialize(NameNode.java:727)
      at org.apache.hadoop.hdfs.server.namenode.NameNode.<init>(NameNode.java:950)
      at org.apache.hadoop.hdfs.server.namenode.NameNode.<init>(NameNode.java:929)
      at org.apache.hadoop.hdfs.server.namenode.NameNode.createNameNode(NameNode.java:1653)
      at org.apache.hadoop.hdfs.server.namenode.NameNode.main(NameNode.java:1720)
      2020-08-12 04:59:53,979 INFO org.apache.hadoop.util.ExitUtil: Exiting with status 1: java.io.IOException: NameNode is not formatted.

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            Unassigned Unassigned
            thangamani.murugasamy@epsilon.com Thangamani Murugasamy
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment