[
https://issues.apache.org/jira/browse/HDFS-9716?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15128024#comment-15128024
]
Kai Zheng commented on HDFS-9716:
---------------------------------
bq. You can easily reproduce the failure by delay line 345 with a breakpoint or
a sleep, so NN has time to invalidate the replica.
Good work to catch this, Walter.
{code}
+ assertEquals(replicaAfterRecovery.length(), replicaLengths[i]);
{code}
How about adjusting the order to avoid some confusing when it's failed here
again. Maybe adding a meaningful message for it?
> o.a.h.hdfs.TestRecoverStripedFile fails intermittently in trunk
> ---------------------------------------------------------------
>
> Key: HDFS-9716
> URL: https://issues.apache.org/jira/browse/HDFS-9716
> Project: Hadoop HDFS
> Issue Type: Bug
> Reporter: Mingliang Liu
> Assignee: Walter Su
> Labels: test
> Attachments: HDFS-9716.01.patch
>
>
> See recent builds:
> *
> https://builds.apache.org/job/PreCommit-HDFS-Build/14269/testReport/org.apache.hadoop.hdfs/TestRecoverStripedFile/testRecoverThreeDataBlocks1/
> *
> https://builds.apache.org/job/PreCommit-HADOOP-Build/8477/testReport/org.apache.hadoop.hdfs/TestRecoverStripedFile/testRecoverThreeDataBlocks/
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)