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 "Giovanni Matteo Fumarola (JIRA)" <ji...@apache.org> on 2019/04/01 18:19:00 UTC

[jira] [Updated] (YARN-9431) Fix flaky junit test fair.TestAppRunnability after YARN-8967

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

Giovanni Matteo Fumarola updated YARN-9431:
-------------------------------------------
    Summary: Fix flaky junit test fair.TestAppRunnability after YARN-8967  (was: flaky junit test fair.TestAppRunnability after YARN-8967)

> Fix flaky junit test fair.TestAppRunnability after YARN-8967
> ------------------------------------------------------------
>
>                 Key: YARN-9431
>                 URL: https://issues.apache.org/jira/browse/YARN-9431
>             Project: Hadoop YARN
>          Issue Type: Bug
>          Components: fairscheduler, test
>    Affects Versions: 3.3.0
>            Reporter: Wilfred Spiegelenburg
>            Assignee: Wilfred Spiegelenburg
>            Priority: Minor
>         Attachments: YARN-9431.001.patch
>
>
> In YARN-4901 one of the scheduler tests failed. This seems to be linked to the changes around the placement rules introduced in YARN-8967.
> Applications submitted in the tests are accepted and rejected at the same time:
> {code}
> 2019-04-01 12:00:57,269 INFO  [main] fair.FairScheduler (FairScheduler.java:addApplication(540)) - Accepted application application_0_0001 from user: user1, in queue: root.user1, currently num of applications: 1
> 2019-04-01 12:00:57,269 INFO  [AsyncDispatcher event handler] fair.FairScheduler (FairScheduler.java:rejectApplicationWithMessage(1344)) - Reject application application_0_0001 submitted by user user1 application rejected by placement rules.
> {code}
> This should never happen and is most likely due to the way the tests generates the application and events.



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