You are viewing a plain text version of this content. The canonical link for it is here.
Posted to yarn-issues@hadoop.apache.org by "Prabhu Joseph (JIRA)" <ji...@apache.org> on 2019/06/13 19:54:01 UTC

[jira] [Commented] (YARN-9621) FIX TestDSWithMultipleNodeManager.testDistributedShellWithPlacementConstraint on branch-3.1

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

Prabhu Joseph commented on YARN-9621:
-------------------------------------

{{TestDSWithMultipleNodeManager}} does not have tearDown method. This causes all testcases to use same {{MiniYarnCluster}} and having conflicts while calculating the actual containers launched on a node by {{NMContainerMonitor}}. This issue is present only in branch-3.1 as YARN-9252 has added the tearDown to branch-3.2 and 3.3.



> FIX TestDSWithMultipleNodeManager.testDistributedShellWithPlacementConstraint on branch-3.1
> -------------------------------------------------------------------------------------------
>
>                 Key: YARN-9621
>                 URL: https://issues.apache.org/jira/browse/YARN-9621
>             Project: Hadoop YARN
>          Issue Type: Bug
>          Components: distributed-shell, test
>    Affects Versions: 3.1.2
>            Reporter: Peter Bacsko
>            Assignee: Prabhu Joseph
>            Priority: Major
>         Attachments: YARN-9621-branch-3.1.001.patch
>
>
> Testcase {{TestDSWithMultipleNodeManager.testDistributedShellWithPlacementConstraint}} seems to constantly fail on branch 3.1. I believe it was introduced by YARN-9253.
> {noformat}
> testDistributedShellWithPlacementConstraint(org.apache.hadoop.yarn.applications.distributedshell.TestDSWithMultipleNodeManager)  Time elapsed: 24.636 s  <<< FAILURE!
> java.lang.AssertionError: expected:<1> but was:<2>
> 	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:555)
> 	at org.junit.Assert.assertEquals(Assert.java:542)
> 	at org.apache.hadoop.yarn.applications.distributedshell.TestDSWithMultipleNodeManager.testDistributedShellWithPlacementConstraint(TestDSWithMultipleNodeManager.java:178)
> 	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.internal.runners.statements.FailOnTimeout$StatementThread.run(FailOnTimeout.java:74)
> {noformat}



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

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