[ https://issues.apache.org/jira/browse/HDFS-2451?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Konstantin Boudnik resolved HDFS-2451. -------------------------------------- Resolution: Fixed Hadoop Flags: Reviewed I have committed it to 0.22 branch. An interesting observation: this problem has been fixed in the trunk a while ago as I have found out just yet checking if the patch needs to be applied for the trunk as well. Apparently, backporting wasn't a priority for trunk development ;( > TestNodeCount.testNodeCount failes with NPE > ------------------------------------------- > > Key: HDFS-2451 > URL: https://issues.apache.org/jira/browse/HDFS-2451 > Project: Hadoop HDFS > Issue Type: Bug > Components: name-node > Affects Versions: 0.22.0 > Reporter: Konstantin Boudnik > Assignee: Konstantin Boudnik > Priority: Blocker > Attachments: HDFS-2451.patch, HDFS-2451.patch, HDFS-2451.patch > > > in the [commit build #97|http://is.gd/UPuXg2] TestNodeCount.testNodeCount > failed with NPE > {noformat} > java.lang.NullPointerException > at > org.apache.hadoop.hdfs.server.namenode.BlockManager.countNodes(BlockManager.java:1436) > at > org.apache.hadoop.hdfs.server.namenode.TestNodeCount.__CLR2_4_39bdgm6whp(TestNodeCount.java:119) > at > org.apache.hadoop.hdfs.server.namenode.TestNodeCount.testNodeCount(TestNodeCount.java:40) > {noformat} -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira