You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-issues@hadoop.apache.org by "Matt Foley (JIRA)" <ji...@apache.org> on 2011/04/12 06:41:05 UTC

[jira] [Updated] (HDFS-1828) TestBlocksWithNotEnoughRacks intermittently fails assert

     [ https://issues.apache.org/jira/browse/HDFS-1828?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Matt Foley updated HDFS-1828:
-----------------------------

    Attachment: TestBlocksWithNotEnoughRacks.java.patch

As part of HDFS-1295, this patch caused TestBlocksWithNotEnoughRacks to pass in build PreCommit-HDFS-Build/346, whereas it had failed before.

Posted here for information, but I'm going to subordinate this bug to HDFS-1295 (which it was blocking) and submit a single patch to that Jira.

> TestBlocksWithNotEnoughRacks intermittently fails assert
> --------------------------------------------------------
>
>                 Key: HDFS-1828
>                 URL: https://issues.apache.org/jira/browse/HDFS-1828
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: name-node
>    Affects Versions: 0.23.0
>            Reporter: Matt Foley
>            Assignee: Matt Foley
>             Fix For: 0.23.0
>
>         Attachments: TestBlocksWithNotEnoughRacks.java.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