[
https://issues.apache.org/jira/browse/MAPREDUCE-5080?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13605657#comment-13605657
]
Chris Nauroth commented on MAPREDUCE-5080:
------------------------------------------
There are failures in {{testPoolSize}} and {{testPoolLimits}}. See below for
stack traces. These tests have multiple assertions about some things that are
non-deterministic in the thread pool sizing logic of {{ContainerLauncherImpl}}.
Running on Windows happens to expose the race conditions.
{code}
testPoolSize(org.apache.hadoop.mapreduce.v2.app.launcher.TestContainerLauncher)
Time elapsed: 22094 sec <<< FAILURE!
junit.framework.AssertionFailedError: expected:<21> but was:<20>
at junit.framework.Assert.fail(Assert.java:47)
at junit.framework.Assert.failNotEquals(Assert.java:283)
at junit.framework.Assert.assertEquals(Assert.java:64)
at junit.framework.Assert.assertEquals(Assert.java:195)
at junit.framework.Assert.assertEquals(Assert.java:201)
at
org.apache.hadoop.mapreduce.v2.app.launcher.TestContainerLauncher.waitForEvents(TestContainerLauncher.java:222)
at
org.apache.hadoop.mapreduce.v2.app.launcher.TestContainerLauncher.testPoolSize(TestContainerLauncher.java:155)
{code}
{code}
testPoolLimits(org.apache.hadoop.mapreduce.v2.app.launcher.TestContainerLauncher)
Time elapsed: 2078 sec <<< FAILURE!
junit.framework.AssertionFailedError: Expected: <null> but was: Expected 12 but
found 10
at junit.framework.Assert.fail(Assert.java:47)
at junit.framework.Assert.assertTrue(Assert.java:20)
at junit.framework.Assert.assertNull(Assert.java:233)
at junit.framework.Assert.assertNull(Assert.java:226)
at
org.apache.hadoop.mapreduce.v2.app.launcher.TestContainerLauncher.testPoolLimits(TestContainerLauncher.java:202)
{code}
> TestContainerLauncher fails on Windows due to assertion failures on
> event/thread counts
> ---------------------------------------------------------------------------------------
>
> Key: MAPREDUCE-5080
> URL: https://issues.apache.org/jira/browse/MAPREDUCE-5080
> Project: Hadoop Map/Reduce
> Issue Type: Bug
> Affects Versions: 3.0.0
> Reporter: Chris Nauroth
> Assignee: Chris Nauroth
>
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira