[
https://issues.apache.org/jira/browse/YARN-9894?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16971809#comment-16971809
]
Jonathan Hung edited comment on YARN-9894 at 11/11/19 7:24 PM:
---------------------------------------------------------------
Thanks [[~epayne] for working on this -
* for
{noformat}
if (Integer.getInteger("NumberOfQueues") != null) {
numQueues = Integer.getInteger("NumberOfQueues");
}
int pctActiveQueues = 100;
if (Integer.getInteger("PercentActiveQueues") != null) {
pctActiveQueues = Integer.getInteger("PercentActiveQueues");
}
int appCount = 100;
if (Integer.getInteger("NumberOfApplications") != null) {
appCount = Integer.getInteger("NumberOfApplications");
}{noformat}
was (Author: jhung):
Thanks [[~epayne] for working on this -
* for
{noformat}
if (Integer.getInteger("NumberOfQueues") != null) {
numQueues = Integer.getInteger("NumberOfQueues");}282 int
pctActiveQueues = 100;283 if (Integer.getInteger("PercentActiveQueues") !=
null) {284 pctActiveQueues = Integer.getInteger("PercentActiveQueues");285
}286 int appCount = 100;287 if
(Integer.getInteger("NumberOfApplications") != null) {288 appCount =
Integer.getInteger("NumberOfApplications");289 }{noformat}
> CapacitySchedulerPerf test for measuring hundreds of apps in a large number
> of queues.
> --------------------------------------------------------------------------------------
>
> Key: YARN-9894
> URL: https://issues.apache.org/jira/browse/YARN-9894
> Project: Hadoop YARN
> Issue Type: Improvement
> Components: capacity scheduler, test
> Affects Versions: 2.9.2, 2.8.5, 3.2.1, 3.1.3
> Reporter: Eric Payne
> Assignee: Eric Payne
> Priority: Major
> Attachments: YARN-9894.001.patch
>
>
> I have developed a unit test based on the existing TestCapacitySchedulerPerf
> tests that will measure the performance of a configurable number of apps in a
> configurable number of queues. It will also test the performance of a cluster
> that has many queues but only a portion of them are active.
> {code:title=For example:}
> $ mvn test
> -Dtest=TestCapacitySchedulerPerf#testUserLimitThroughputWithManyQueues \
> -DRunCapacitySchedulerPerfTests=true
> -DNumberOfQueues=100 \
> -DNumberOfApplications=200 \
> -DPercentActiveQueues=100
> {code}
> - Parameters:
> -- RunCapacitySchedulerPerfTests=true:
> Needed in order to trigger the test
> -- NumberOfQueues
> Configurable number of queues
> -- NumberOfApplications
> Total number of apps to run in the whole cluster, distributed evenly across
> all queues
> -- PercentActiveQueues
> Percentage of the queues that contain active applications
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]