hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Supratim Deka (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HDDS-1050) TestSCMRestart#testPipelineWithScmRestart is failing
Date Mon, 11 Feb 2019 11:22:00 GMT

     [ https://issues.apache.org/jira/browse/HDDS-1050?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Supratim Deka updated HDDS-1050:
--------------------------------
    Attachment: HDDS-1050.000.patch
        Status: Patch Available  (was: Open)

TestSCMRestart becomes unpredictable with 6-7 datanodes because there is more than 1 Open
RATIS pipeline for container allocation. Reducing datanodes to 4 ensures there is a single
3-replicas pipeline available for container allocation.

An alternate implementation of this test as suggested by Lokesh can be to compare the list
of OPEN pipelines from the PipelineManager, both before and after the SCM restart.

> TestSCMRestart#testPipelineWithScmRestart is failing
> ----------------------------------------------------
>
>                 Key: HDDS-1050
>                 URL: https://issues.apache.org/jira/browse/HDDS-1050
>             Project: Hadoop Distributed Data Store
>          Issue Type: Test
>          Components: test
>    Affects Versions: 0.3.0
>            Reporter: Nanda kumar
>            Assignee: Supratim Deka
>            Priority: Major
>         Attachments: HDDS-1050.000.patch, HDDS-1050.000.patch
>
>
> {{TestSCMRestart#testPipelineWithScmRestart}} is failing with the below exception
> {code}
> [ERROR] Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 11.896 s <<<
FAILURE! - in org.apache.hadoop.hdds.scm.pipeline.TestSCMRestart
> [ERROR] testPipelineWithScmRestart(org.apache.hadoop.hdds.scm.pipeline.TestSCMRestart)
 Time elapsed: 0.047 s  <<< FAILURE!
> java.lang.AssertionError: expected:<PipelineID=8619c522-efdd-41d3-b946-8977ea6c027e>
but was:<PipelineID=c80a63f4-2f55-4d5a-bb1f-3c9e6613318a>
> 	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.hdds.scm.pipeline.TestSCMRestart.testPipelineWithScmRestart(TestSCMRestart.java:110)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> 	at java.lang.reflect.Method.invoke(Method.java:498)
> 	at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
> 	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
> 	at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
> 	at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
> 	at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
> 	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
> 	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
> 	at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
> 	at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
> 	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
> 	at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
> 	at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
> 	at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
> 	at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
> 	at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
> 	at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365)
> 	at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273)
> 	at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238)
> 	at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159)
> 	at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384)
> 	at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345)
> 	at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126)
> 	at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418)
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-help@hadoop.apache.org


Mime
View raw message