[ 
https://issues.apache.org/jira/browse/HADOOP-3776?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12616429#action_12616429
 ] 

Hadoop QA commented on HADOOP-3776:
-----------------------------------

-1 overall.  Here are the results of testing the latest attachment 
  http://issues.apache.org/jira/secure/attachment/12386754/HADOOP-3776.patch
  against trunk revision 679286.

    +1 @author.  The patch does not contain any @author tags.

    -1 tests included.  The patch doesn't appear to include any new or modified 
tests.
                        Please justify why no tests are needed for this patch.

    +1 javadoc.  The javadoc tool did not generate any warning messages.

    +1 javac.  The applied patch does not increase the total number of javac 
compiler warnings.

    +1 findbugs.  The patch does not introduce any new Findbugs warnings.

    +1 release audit.  The applied patch does not increase the total number of 
release audit warnings.

    -1 core tests.  The patch failed core unit tests.

    +1 contrib tests.  The patch passed contrib unit tests.

Test results: 
http://hudson.zones.apache.org/hudson/job/Hadoop-Patch/2934/testReport/
Findbugs warnings: 
http://hudson.zones.apache.org/hudson/job/Hadoop-Patch/2934/artifact/trunk/build/test/findbugs/newPatchFindbugsWarnings.html
Checkstyle results: 
http://hudson.zones.apache.org/hudson/job/Hadoop-Patch/2934/artifact/trunk/build/test/checkstyle-errors.html
Console output: 
http://hudson.zones.apache.org/hudson/job/Hadoop-Patch/2934/console

This message is automatically generated.

> NPE in NameNode with unknown blocks
> -----------------------------------
>
>                 Key: HADOOP-3776
>                 URL: https://issues.apache.org/jira/browse/HADOOP-3776
>             Project: Hadoop Core
>          Issue Type: Bug
>          Components: dfs
>    Affects Versions: 0.18.0
>            Reporter: Raghu Angadi
>            Assignee: Raghu Angadi
>            Priority: Blocker
>             Fix For: 0.18.0
>
>         Attachments: HADOOP-3776.patch, HADOOP-3776.patch, HADOOP-3776.patch
>
>
> When a datanode has a block that NameNode does not have, it results in an NPE 
> at the NameNode. And one of these cases results in an infinite loop of these 
> errors because DataNode keeps invoking the same RPC that resulted in this NPE.
> One way to reproduce :
>  * On a single DN cluster, start writing a large file (something like 
> {{'bin/hadoop fs -put 5Gb 5Gb'}})
>  * Now, from a different shell, delete this file ({{bin/hadoop fs -rm 5Gb}})
>  * Most likely you will hit this.
>  * The cause is that when DataNode invokes {{blockReceived()}} to inform 
> about the last block it received, the file is already deleted and results in 
> an NPE at the namenode. The way DataNode works, it basically keep invoking 
> the same RPC with same block and results in the same error.
> When block does not exist in NameNode's blocksMap, it basically does not 
> belong to the cluster. Let me know if you need the trace. Basically the NPE 
> is at FSNamesystem.java:2800 (on trunk).

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

Reply via email to