[
https://issues.apache.org/jira/browse/HDFS-1828?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Tsz Wo (Nicholas), SZE resolved HDFS-1828.
------------------------------------------
Resolution: Fixed
Assignee: Matt Foley
Since we are not reverting the patch, re-close this. If the test is still
failing, please create a new issue.
> TestBlocksWithNotEnoughRacks intermittently fails assert
> --------------------------------------------------------
>
> Key: HDFS-1828
> URL: https://issues.apache.org/jira/browse/HDFS-1828
> Project: Hadoop HDFS
> Issue Type: Sub-task
> Components: name-node
> Affects Versions: 0.23.0
> Reporter: Matt Foley
> Assignee: Matt Foley
> Fix For: 0.23.0
>
> Attachments: TestBlocksWithNotEnoughRacks.java.patch,
> TestBlocksWithNotEnoughRacks_v2.patch
>
>
> In
> server.namenode.TestBlocksWithNotEnoughRacks.testSufficientlyReplicatedBlocksWithNotEnoughRacks
>
> assert fails at curReplicas == REPLICATION_FACTOR, but it seems that it
> should go higher initially, and if the test doesn't wait for it to go back
> down, it will fail false positive.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira