hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Junping Du (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-5439) Fix TestPendingReplication
Date Tue, 05 Nov 2013 02:56:17 GMT

    [ https://issues.apache.org/jira/browse/HDFS-5439?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13813587#comment-13813587
] 

Junping Du commented on HDFS-5439:
----------------------------------

Thanks Arpit for reply! Yes. BlockPlacementPolicyDefault now could choose different storage
on the same DN for putting replica. Do you mean this?
For sleep staff, I saw it is already used in TestPendingReplication for waiting heartbeat/block-reporting.
Do we have better way there?

> Fix TestPendingReplication
> --------------------------
>
>                 Key: HDFS-5439
>                 URL: https://issues.apache.org/jira/browse/HDFS-5439
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>          Components: namenode
>    Affects Versions: Heterogeneous Storage (HDFS-2832)
>            Reporter: Arpit Agarwal
>            Assignee: Junping Du
>
> {{TestPendingReplication}} fails with the following exception:
> {code}
> java.lang.AssertionError: expected:<4> but was:<3>
>         at org.junit.Assert.fail(Assert.java:93)
>         at org.junit.Assert.failNotEquals(Assert.java:647)
>         at org.junit.Assert.assertEquals(Assert.java:128)
>         at org.junit.Assert.assertEquals(Assert.java:472)
>         at org.junit.Assert.assertEquals(Assert.java:456)
>         at org.apache.hadoop.hdfs.server.blockmanagement.TestPendingReplication.testBlockReceived(TestPendingReplication.java:186)
> {code}



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Mime
View raw message