Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-3118

Namenode NPE while loading fsimage after a cluster upgrade from older disk format

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • None
    • 0.17.0
    • None
    • None
    • Reviewed

    Description

      FSDirectory.unprotectedDelete: failed to remove /user/ran gadi/10Mb because it does not exist
      2008-03-27 22:00:10,904 ERROR org.apache.hadoop.dfs.NameNode:
      java.lang.NullPointerException
      at
      org.apache.hadoop.dfs.StringBytesWritable.<init>(StringBytesWritable.java:39)
      at
      org.apache.hadoop.dfs.INodeFileUnderConstruction.<init>(INode.java:795)
      at org.apache.hadoop.dfs.FSEditLog.loadFSEdits(FSEditLog.java:528)
      at org.apache.hadoop.dfs.FSImage.loadFSEdits(FSImage.java:766)
      at org.apache.hadoop.dfs.FSImage.loadFSImage(FSImage.java:640)
      at org.apache.hadoop.dfs.FSImage.doUpgrade(FSImage.java:250)
      at
      org.apache.hadoop.dfs.FSImage.recoverTransitionRead(FSImage.java:217)
      at
      org.apache.hadoop.dfs.FSDirectory.loadFSImage(FSDirectory.java:80)
      at
      org.apache.hadoop.dfs.FSNamesystem.initialize(FSNamesystem.java:274)
      at org.apache.hadoop.dfs.FSNamesystem.<init>(FSNamesystem.java:255)
      at org.apache.hadoop.dfs.NameNode.initialize(NameNode.java:133)
      at org.apache.hadoop.dfs.NameNode.<init>(NameNode.java:178)
      at org.apache.hadoop.dfs.NameNode.<init>(NameNode.java:164)
      at org.apache.hadoop.dfs.NameNode.createNameNode(NameNode.java:846)
      at org.apache.hadoop.dfs.NameNode.main(NameNode.java:855)

      Attachments

        1. loadImageNPE.patch
          2 kB
          Dhruba Borthakur
        2. loadImageNPE.patch
          2 kB
          Dhruba Borthakur
        3. loadImageNPE.patch
          1 kB
          Dhruba Borthakur

        Activity

          People

            dhruba Dhruba Borthakur
            dhruba Dhruba Borthakur
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: