[ https://issues.apache.org/jira/browse/HDFS-8106?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jing Zhao resolved HDFS-8106. ----------------------------- Resolution: Duplicate > Fix test failure in TestAddStripedBlocks > ---------------------------------------- > > Key: HDFS-8106 > URL: https://issues.apache.org/jira/browse/HDFS-8106 > Project: Hadoop HDFS > Issue Type: Bug > Reporter: Kai Zheng > Assignee: Kai Zheng > > When run the test, error was noticed. > {code} > java.lang.ClassCastException: > org.apache.hadoop.hdfs.server.blockmanagement.BlockInfoContiguousUnderConstruction > cannot be cast to > org.apache.hadoop.hdfs.server.blockmanagement.BlockInfoStripedUnderConstruction > at > org.apache.hadoop.hdfs.server.namenode.TestAddStripedBlocks.testAddUCReplica(TestAddStripedBlocks.java:275) > {code} > And, > {code} > java.lang.AssertionError > at org.junit.Assert.fail(Assert.java:86) > at org.junit.Assert.assertTrue(Assert.java:41) > at org.junit.Assert.assertTrue(Assert.java:52) > at > org.apache.hadoop.hdfs.server.namenode.TestAddStripedBlocks.testAddStripedBlock(TestAddStripedBlocks.java:112) > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)