hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jing Zhao (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-8106) Fix test failure in TestAddStripedBlocks
Date Thu, 09 Apr 2015 01:55:13 GMT

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

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

Yes, the 001 patch in HDFS-8077 already fixes the issue. I will close this as 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)

Mime
View raw message