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 "Szilard Nemeth (JIRA)" <ji...@apache.org> on 2018/11/15 17:46:00 UTC

[jira] [Updated] (YARN-9025) Make TestFairScheduler#testChildMaxResources more reliable, as it is flaky now

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

Szilard Nemeth updated YARN-9025:
---------------------------------
    Attachment: YARN-9025.001.patch

> Make TestFairScheduler#testChildMaxResources more reliable, as it is flaky now
> ------------------------------------------------------------------------------
>
>                 Key: YARN-9025
>                 URL: https://issues.apache.org/jira/browse/YARN-9025
>             Project: Hadoop YARN
>          Issue Type: Bug
>    Affects Versions: 3.3.0
>            Reporter: Szilard Nemeth
>            Assignee: Szilard Nemeth
>            Priority: Major
>         Attachments: YARN-9025.001.patch
>
>
> During making the code patch for YARN-8059, I come across a flaky test, see this link: https://builds.apache.org/job/PreCommit-YARN-Build/22412/artifact/out/patch-unit-hadoop-yarn-project_hadoop-yarn_hadoop-yarn-server_hadoop-yarn-server-resourcemanager.txt
> This is the error message: 
> {code:java}
> [ERROR] Tests run: 108, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 19.37 s <<< FAILURE! - in org.apache.hadoop.yarn.server.resourcemanager.scheduler.fair.TestFairScheduler
> [ERROR] testChildMaxResources(org.apache.hadoop.yarn.server.resourcemanager.scheduler.fair.TestFairScheduler) Time elapsed: 0.164 s <<< FAILURE!
> java.lang.AssertionError: App 1 is not running with the correct number of containers expected:<2> but was:<0>
>  at org.junit.Assert.fail(Assert.java:88){code}
> So the thing is, even if we had 8 node updates, due to the nature of how we handle the events, it can happen that no container is allocated for the application.



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