You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-dev@hadoop.apache.org by "Allen Wittenauer (JIRA)" <ji...@apache.org> on 2015/03/01 08:28:04 UTC

[jira] [Resolved] (HDFS-3267) TestBlocksWithNotEnoughRacks races with DN startup

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

Allen Wittenauer resolved HDFS-3267.
------------------------------------
    Resolution: Duplicate

Closing as a dupe of HDFS-4681 because that one at least has a patch.

> TestBlocksWithNotEnoughRacks races with DN startup
> --------------------------------------------------
>
>                 Key: HDFS-3267
>                 URL: https://issues.apache.org/jira/browse/HDFS-3267
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: test
>    Affects Versions: 2.0.0-alpha
>            Reporter: Todd Lipcon
>            Assignee: Todd Lipcon
>            Priority: Minor
>
> In TestBlocksWithNotEnoughRacks.testCorruptBlockRereplicatedAcrossRacks, it restarts a DN, and then proceeds to call "waitCorruptReplicas". But, because of HDFS-3266, it doesn't actually wait very long while checking for the corrupt block to be reported. Since the DN starts back up asynchronously, the test will fail if it starts too slowly.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)