[
https://issues.apache.org/jira/browse/HDFS-5540?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13852752#comment-13852752
]
Junping Du commented on HDFS-5540:
----------------------------------
+1. The test failure is unrelated and will file a separated JIRA to fix it.
Will commit it shortly.
> Fix TestBlocksWithNotEnoughRacks
> --------------------------------
>
> Key: HDFS-5540
> URL: https://issues.apache.org/jira/browse/HDFS-5540
> Project: Hadoop HDFS
> Issue Type: Bug
> Reporter: Binglin Chang
> Assignee: Binglin Chang
> Priority: Minor
> Attachments: HDFS-5540.v1.patch, HDFS-5540.v2.patch
>
>
> TestBlocksWithNotEnoughRacks fails with timed out waiting for corrupt replicas
> java.util.concurrent.TimeoutException: Timed out waiting for corrupt
> replicas. Waiting for 1, but only found 0
> at
> org.apache.hadoop.hdfs.DFSTestUtil.waitCorruptReplicas(DFSTestUtil.java:351)
> at
> org.apache.hadoop.hdfs.server.blockmanagement.TestBlocksWithNotEnoughRacks.testCorruptBlockRereplicatedAcrossRacks(TestBlocksWithNotEnoughRacks.java:219)
> which is caused by large time interval (1 second) - corrupt replica could be
> re-replicated during this time.
--
This message was sent by Atlassian JIRA
(v6.1.4#6159)