[ https://issues.apache.org/jira/browse/HDFS-5540?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13852502#comment-13852502 ]
Junping Du commented on HDFS-5540: ---------------------------------- It can be applied, but not very clean. It is typically OK for small patch like this. However, given Jenkins test already has been about 1 month, it is safer to submit a new one can applied cleanly and we can double check the Jenkins' result. In addition, I would suggest to follow Hadoop wiki (http://wiki.apache.org/hadoop/HowToContribute) to generate a patch that can be applied with "patch -p0". > 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 > Attachments: HDFS-5540.v1.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) -- This message was sent by Atlassian JIRA (v6.1.4#6159)