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

Mukul Kumar Singh commented on HDFS-12048:
------------------------------------------

Hi [~cheersyang], the stack trace for the failure is different than the one 
mentioned in the bug.

This test fails occasionally with the following stack trace. I feel that this 
patch can be checked in now. I will continue to debug the following stack trace

{code}
java.lang.AssertionError: expected:<IO_EXCEPTION> but was:<SUCCESS>
        at org.junit.Assert.fail(Assert.java:88)
        at org.junit.Assert.failNotEquals(Assert.java:743)
        at org.junit.Assert.assertEquals(Assert.java:118)
        at org.junit.Assert.assertEquals(Assert.java:144)
        at 
org.apache.hadoop.ozone.container.ContainerTestHelper.verifyGetKey(ContainerTestHelper.java:480)
        at 
org.apache.hadoop.ozone.container.ozoneimpl.TestOzoneContainer.runTestOzoneContainerViaDataNode(TestOzoneContainer.java:154)
        at 
org.apache.hadoop.ozone.container.ozoneimpl.TestOzoneContainerRatis.runTest(TestOzoneContainerRatis.java:119)
        at 
org.apache.hadoop.ozone.container.ozoneimpl.TestOzoneContainerRatis.runTestOzoneContainerViaDataNodeRatis(TestOzoneContainerRatis.java:79)
        at 
org.apache.hadoop.ozone.container.ozoneimpl.TestOzoneContainerRatis.testOzoneContainerViaDataNodeRatisNetty(TestOzoneContainerRatis.java:74)
{code}

> Ozone:TestOzoneContainerRatis & TestRatisManager are failing consistently
> -------------------------------------------------------------------------
>
>                 Key: HDFS-12048
>                 URL: https://issues.apache.org/jira/browse/HDFS-12048
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>          Components: ozone
>    Affects Versions: HDFS-7240
>            Reporter: Mukul Kumar Singh
>            Assignee: Mukul Kumar Singh
>             Fix For: HDFS-7240
>
>         Attachments: HDFS-12048-HDFS-7240.001.patch, 
> HDFS-12048-HDFS-7240.002.patch
>
>
> TestOzoneContainerRatis and TestRatisManager are failing with the following 
> stack trace.
> {code}
> testBothGetandPutSmallFileRatisGrpc(org.apache.hadoop.ozone.container.ozoneimpl.TestOzoneContainerRatis)
>   Time elapsed: 11.864 sec  <<< ERROR!
> java.io.IOException: Timed out waiting for Mini HDFS Cluster to start
>       at 
> org.apache.hadoop.hdfs.MiniDFSCluster.waitClusterUp(MiniDFSCluster.java:1371)
>       at 
> org.apache.hadoop.hdfs.MiniDFSCluster.initMiniDFSCluster(MiniDFSCluster.java:872)
>       at org.apache.hadoop.hdfs.MiniDFSCluster.<init>(MiniDFSCluster.java:491)
>       at 
> org.apache.hadoop.ozone.MiniOzoneCluster.<init>(MiniOzoneCluster.java:88)
>       at 
> org.apache.hadoop.ozone.MiniOzoneCluster.<init>(MiniOzoneCluster.java:67)
>       at 
> org.apache.hadoop.ozone.MiniOzoneCluster$Builder.build(MiniOzoneCluster.java:387)
>       at 
> org.apache.hadoop.ozone.container.ozoneimpl.TestOzoneContainerRatis.runTest(TestOzoneContainerRatis.java:95)
>       at 
> org.apache.hadoop.ozone.container.ozoneimpl.TestOzoneContainerRatis.runTestBothGetandPutSmallFileRatis(TestOzoneContainerRatis.java:127)
>       at 
> org.apache.hadoop.ozone.container.ozoneimpl.TestOzoneContainerRatis.testBothGetandPutSmallFileRatisGrpc(TestOzoneContainerRatis.java:139)
> {code}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to