[ 
https://issues.apache.org/jira/browse/HDFS-2309?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13097308#comment-13097308
 ] 

Jitendra Nath Pandey commented on HDFS-2309:
--------------------------------------------

20.security does not process second block report when the NN is in safemode. A 
block report is considered to be the second block report if the number of 
blocks for a DN is > 0.

During the test, a DN sends block received before sending block report. This 
results in first block report to be discarded.

Solution:
Introduce a flag in DatanodeDescriptor to track first block report, instead of 
using number of blocks.

> TestRenameWhileOpen fails in branch-0.20-security
> -------------------------------------------------
>
>                 Key: HDFS-2309
>                 URL: https://issues.apache.org/jira/browse/HDFS-2309
>             Project: Hadoop HDFS
>          Issue Type: Bug
>    Affects Versions: 0.20.205.0
>            Reporter: Jitendra Nath Pandey
>            Assignee: Jitendra Nath Pandey
>             Fix For: 0.20.205.0
>
>         Attachments: HDFS-2309-20-security.1.patch
>
>
> TestRenameWhileOpen is failing in branch-0.20-security.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to