hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hairong Kuang (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HADOOP-1092) NullPointerException in HeartbeatMonitor thread
Date Thu, 08 Mar 2007 21:44:24 GMT

    [ https://issues.apache.org/jira/browse/HADOOP-1092?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12479440
] 

Hairong Kuang commented on HADOOP-1092:
---------------------------------------

Dhruba did not post my first comment. :-)

The problem can be solved by updating neededRepliction before we remove the block from the
blockMap. 

> NullPointerException in HeartbeatMonitor thread
> -----------------------------------------------
>
>                 Key: HADOOP-1092
>                 URL: https://issues.apache.org/jira/browse/HADOOP-1092
>             Project: Hadoop
>          Issue Type: Bug
>          Components: dfs
>    Affects Versions: 0.12.0
>            Reporter: Nigel Daley
>         Assigned To: Hairong Kuang
>            Priority: Blocker
>             Fix For: 0.12.1
>
>
> 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)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message