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

NPE from CreateEditsLog

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 0.19.0
    • Fix Version/s: 0.19.0
    • Component/s: test
    • Labels:
      None
    • Hadoop Flags:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: