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 "Wilfred Spiegelenburg (JIRA)" <ji...@apache.org> on 2018/10/25 11:39:00 UTC

[jira] [Commented] (YARN-8944) TestContainerAllocation.testUserLimitAllocationMultipleContainers failure after YARN-8896

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

Wilfred Spiegelenburg commented on YARN-8944:
---------------------------------------------

Failure stack trace from the junit test:

{code}
[ERROR] Tests run: 17, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 36.546 s <<< FAILURE! - in org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestContainerAllocation
[ERROR] testUserLimitAllocationMultipleContainers(org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestContainerAllocation)  Time elapsed: 1.09 s  <<< FAILURE!
java.lang.AssertionError: expected:<101> but was:<71>
	at org.junit.Assert.fail(Assert.java:88)
	at org.junit.Assert.failNotEquals(Assert.java:834)
	at org.junit.Assert.assertEquals(Assert.java:645)
	at org.junit.Assert.assertEquals(Assert.java:631)
	at org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestContainerAllocation.testUserLimitAllocationMultipleContainers(TestContainerAllocation.java:945)
{code}

> TestContainerAllocation.testUserLimitAllocationMultipleContainers failure after YARN-8896
> -----------------------------------------------------------------------------------------
>
>                 Key: YARN-8944
>                 URL: https://issues.apache.org/jira/browse/YARN-8944
>             Project: Hadoop YARN
>          Issue Type: Test
>          Components: capacity scheduler
>    Affects Versions: 3.3.0
>            Reporter: Wilfred Spiegelenburg
>            Assignee: Wilfred Spiegelenburg
>            Priority: Major
>
> YARN-8896 changes the behaviour of the CapacityScheduler by limiting the number of containers that can be allocated in one heartbeat. It is an undocumented change in behaviour.
> The change breaks the junit test: {{TestContainerAllocation.testUserLimitAllocationMultipleContainers}}
> The maximum number of containers that gets assigned via the on heartbeat is 100 and it expects 199 to be assigned.



--
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