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 "Jing Zhao (JIRA)" <ji...@apache.org> on 2015/04/09 03:50:13 UTC

[jira] [Commented] (HDFS-8106) Fix test failure in TestAddStripedBlocks

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

Jing Zhao commented on HDFS-8106:
---------------------------------

duplicated with HDFS-8077?

> 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)