[
https://issues.apache.org/jira/browse/HADOOP-4840?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12657634#action_12657634
]
Hairong Kuang commented on HADOOP-4840:
---------------------------------------
I totally agree with Nicholas's observation. Can we handle only the unit test
failure in this jira and handle the non-synchronized call to countNodes in a
different jira?
> TestNodeCount sometimes fails with NullPointerException
> -------------------------------------------------------
>
> Key: HADOOP-4840
> URL: https://issues.apache.org/jira/browse/HADOOP-4840
> Project: Hadoop Core
> Issue Type: Bug
> Components: dfs
> Affects Versions: 0.18.3
> Reporter: Hairong Kuang
> Assignee: Hairong Kuang
> Fix For: 0.18.3
>
> Attachments: nodeCountNPE.patch, nodeCountNPE1.patch
>
>
> 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)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.