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

TestNodeCount sometimes fails with NullPointerException

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.18.3
    • Fix Version/s: 0.18.3
    • Component/s: None
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      Testcase: testNodeCount took 9.628 sec
      Caused an ERROR

      java.lang.NullPointerException
      at org.apache.hadoop.hdfs.server.namenode.FSNamesystem.countNodes(FSNamesystem.java:3523)
      at org.apache.hadoop.hdfs.server.namenode.FSNamesystem.countNodes(FSNamesystem.java:3543)
      at org.apache.hadoop.hdfs.server.namenode.TestNodeCount.testNodeCount(TestNodeCount.java:64)

        Attachments

        1. nodeCountNPE1-br18.patch
          0.6 kB
          Hairong Kuang
        2. nodeCountNPE1.patch
          0.6 kB
          Hairong Kuang
        3. nodeCountNPE.patch
          0.6 kB
          Hairong Kuang

          Issue Links

            Activity

              People

              • Assignee:
                hairong Hairong Kuang
                Reporter:
                hairong Hairong Kuang
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: