Wilfred Spiegelenburg created YARN-9431:
-------------------------------------------
Summary: 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
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: [email protected]
For additional commands, e-mail: [email protected]