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

Nigel Daley commented on HADOOP-898:
------------------------------------

-1 for  HADOOP-898-2.patch

+1 for  HADOOP-898.patch.  

Of the two patches, I find that only HADOOP-898.patch reduces the probability 
of TestSmallBlock failing from around 20% to 0% after 100+ runs.

For those interested, when TestSmallBlock fails, it's because one call to 
blocks[i].getNumBytes() in the FSNamesystem.getDatanodeHints() method returns 0 
when it should return 1.  Since it is sporadic, it seems like a 
synchronization/timing issue.

> namenode generates infinite stream of null pointers
> ---------------------------------------------------
>
>                 Key: HADOOP-898
>                 URL: https://issues.apache.org/jira/browse/HADOOP-898
>             Project: Hadoop
>          Issue Type: Bug
>          Components: dfs
>            Reporter: Owen O'Malley
>         Assigned To: Raghu Angadi
>         Attachments: HADOOP-898-2.patch, HADOOP-898.patch
>
>
> My namenode is generating a constant stream of NullPointerExceptions. The log 
> looks like:
> 2007-01-17 19:51:27,461 INFO org.apache.hadoop.ipc.Server: IPC Server handler 
> 3
> on 50000 call error: java.io.IOException: java.lang.NullPointerException
> java.io.IOException: java.lang.NullPointerException
>         at 
> org.apache.hadoop.dfs.FSNamesystem.addStoredBlock(FSNamesystem.java:1621)
>         at 
> org.apache.hadoop.dfs.FSNamesystem.processReport(FSNamesystem.java:1563)
>         at org.apache.hadoop.dfs.NameNode.blockReport(NameNode.java:573)
>         at sun.reflect.GeneratedMethodAccessor6.invoke(Unknown Source)
>         at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:589)
>         at org.apache.hadoop.ipc.RPC$Server.call(RPC.java:337)
>         at org.apache.hadoop.ipc.Server$Handler.run(Server.java:538)

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to