[ https://issues.apache.org/jira/browse/HDFS-5439?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Junping Du updated HDFS-5439: ----------------------------- Attachment: HDFS-5439-demo1.patch Ok. In demo1 patch, fix following issues: 1. Using storageID instead of datanodeID in initiating StorageReceivedDeletedBlocks. 2. Fix BlockPlacementPolicyDefault with checking datanodeIDs of results in isGoodTarget() 3. Fix some log string issues. 4. Some sleeps to pass some assert, please ignore if it doesn't make sense. > 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 > Attachments: HDFS-5439-demo1.patch > > > {{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)