You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-dev@hadoop.apache.org by "Kai Zheng (JIRA)" <ji...@apache.org> on 2015/04/09 03:40:12 UTC

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

Kai Zheng created HDFS-8106:
-------------------------------

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