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 "Peter Bacsko (JIRA)" <ji...@apache.org> on 2019/04/01 13:12:00 UTC
[jira] [Comment Edited] (YARN-9431) flaky junit test
fair.TestAppRunnability after YARN-8967
[ https://issues.apache.org/jira/browse/YARN-9431?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16806613#comment-16806613 ]
Peter Bacsko edited comment on YARN-9431 at 4/1/19 1:11 PM:
------------------------------------------------------------
I verified the changes by running TestAppRunnability 1000 times and things are back to normal.
+1 (non-binding) from me.
was (Author: pbacsko):
I verified the changes with running TestAppRunnability 1000 and things are back to normal.
+1 (non-binding) from me.
> 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