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

NullPointerException in HeartbeatMonitor thread

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • 0.12.0
    • 0.12.1
    • None
    • None

    Description

      Running NNBench with latest trunk, I saw this NPE in the Namenode log:

      Exception in thread "org.apache.hadoop.dfs.FSNamesystem$HeartbeatMonitor@182bcde" java.lang.NullPointerException
      at org.apache.hadoop.dfs.FSNamesystem.countContainingNodes(FSNamesystem.java:2506)
      at org.apache.hadoop.dfs.FSNamesystem.access$000(FSNamesystem.java:52)
      at org.apache.hadoop.dfs.FSNamesystem$UnderReplicationBlocks.update(FSNamesystem.java:456)
      at org.apache.hadoop.dfs.FSNamesystem.removeStoredBlock(FSNamesystem.java:2242)
      at org.apache.hadoop.dfs.FSNamesystem.removeDatanode(FSNamesystem.java:1876)
      at org.apache.hadoop.dfs.FSNamesystem.heartbeatCheck(FSNamesystem.java:1958)
      at org.apache.hadoop.dfs.FSNamesystem$HeartbeatMonitor.run(FSNamesystem.java:1698)
      at java.lang.Thread.run(Thread.java:619)

      Attachments

        1. NPEReplication.patch
          1.0 kB
          Hairong Kuang

        Activity

          People

            hairong Hairong Kuang
            nidaley Nigel Daley
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: