Szilard Nemeth created YARN-8841:
------------------------------------
Summary: Analyze if ApplicationMasterService schedule tests can be
applied to all scheduler types
Key: YARN-8841
URL: https://issues.apache.org/jira/browse/YARN-8841
Project: Hadoop YARN
Issue Type: Improvement
Components: test
Reporter: Szilard Nemeth
Assignee: Szilard Nemeth
This is a follow-up jira of YARN-8732.
1. testResourceTypes() checks all three schedulers, fifo, capacity scheduler
and fair scheduler. How about we split them into three classes respectively,
even though it might mean some code duplication?
2. testUpdateTrackingUrl() is now run for capacity scheduler only. I think we
shall run it with all three schedulers. So is
testInvalidIncreaseDecreaseRequest() in theory (If the other two schedulers do
not support increase/decrease requests, let's keep it with capacity scheduler
only.
3. All the unit tests in ApplicationMasterServiceTestBase are applicable to all
three schedulers, but we are just running them with Fifo scheduler. We should
probably enable them for capacity and fair scheduler too.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]