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

Yi Liu commented on HDFS-7740:
------------------------------

Seems it's not the same reason as HDFS-7695 where NN restarts and is unable to 
leave SafeMode.  While in {{testTruncateWithDataNodesRestart}} NN is not 
restarted and is caused by {{triggerBlockReportForTests}} can't finish.
The only possible reason is that the block report on that datanode is not 
successful.
I can't reproduce this issue locally, but I check the log and find there is 
indeed no block report after that DN restarts.

Let me see more details.

> Test truncate with DataNodes restarting
> ---------------------------------------
>
>                 Key: HDFS-7740
>                 URL: https://issues.apache.org/jira/browse/HDFS-7740
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>          Components: test
>    Affects Versions: 2.7.0
>            Reporter: Konstantin Shvachko
>            Assignee: Yi Liu
>             Fix For: 2.7.0
>
>         Attachments: HDFS-7740.001.patch, HDFS-7740.002.patch, 
> HDFS-7740.003.patch
>
>
> Add a test case, which ensures replica consistency when DNs are failing and 
> restarting.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to