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

FSNamesystem.close() throws NullPointerException

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.18.0
    • None
    • None
    • Reviewed

    Description

      During NameNode startup, if there is an exception thrown before FSNamesystem.dir is created, we will get a NullPointerException.

      2008-06-06 12:07:21,203 ERROR org.apache.hadoop.dfs.NameNode: java.lang.NullPointerException
      	at org.apache.hadoop.dfs.FSNamesystem.close(FSNamesystem.java:465)
      	at org.apache.hadoop.dfs.FSNamesystem.<init>(FSNamesystem.java:253)
      	at org.apache.hadoop.dfs.NameNode.initialize(NameNode.java:148)
      	at org.apache.hadoop.dfs.NameNode.<init>(NameNode.java:193)
      	at org.apache.hadoop.dfs.NameNode.<init>(NameNode.java:179)
      	at org.apache.hadoop.dfs.NameNode.createNameNode(NameNode.java:822)
      	at org.apache.hadoop.dfs.NameNode.main(NameNode.java:831)
      

      Attachments

        1. 3509_20080606c.patch
          3 kB
          Tsz-wo Sze
        2. 3509_20080606b.patch
          3 kB
          Tsz-wo Sze
        3. 3509_20080606.patch
          2 kB
          Tsz-wo Sze

        Activity

          People

            szetszwo Tsz-wo Sze
            szetszwo Tsz-wo Sze
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: