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

NPE from CreateEditsLog

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • 0.19.0
    • 0.19.0
    • test
    • None
    • Reviewed

    Description

      HADOOP-1869 added a call to setAccessTime(long) from the INode cstr, which relies on a non-null value from FSNamesystem::getFSNamesystem.

      java.lang.NullPointerException
              at org.apache.hadoop.hdfs.server.namenode.INode.setAccessTime(INode.java:301)
              at org.apache.hadoop.hdfs.server.namenode.INode.<init>(INode.java:99)
              at org.apache.hadoop.hdfs.server.namenode.INodeDirectory.<init>(INodeDirectory.java:45)
              at org.apache.hadoop.hdfs.CreateEditsLog.addFiles(CreateEditsLog.java:68)
              at org.apache.hadoop.hdfs.CreateEditsLog.main(CreateEditsLog.java:214)
      

      Attachments

        1. HADOOP-4358.patch
          1 kB
          Raghu Angadi
        2. HADOOP-4358.patch
          1 kB
          Raghu Angadi

        Activity

          People

            rangadi Raghu Angadi
            cdouglas Christopher Douglas
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: