[
https://issues.apache.org/jira/browse/MAPREDUCE-4327?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13408535#comment-13408535
]
Andrew Ferguson commented on MAPREDUCE-4327:
--------------------------------------------
hi Arun,
a branch sounds like a great idea. thanks!
I did update the Capacity Scheduler to schedule and account for CPU in the most
recent patch. The key updates are in CSQueueUtils, LeafQueue, and ParentQueue,
and they quite heavily tested by the fully updated Capacity Scheduler test
suite.
To update the Capacity Scheduler, I followed the logic from DRF, taking your
dominant resource's share as the capacity you are consuming.
best,
Andrew
ps -- Do you mind if I re-set the Patch Available flag? While this patch passes
the tests I ran locally (`mvn tes`t in hadoop-mapreduce-project/hadoop-yarn/),
I am curious what the Apache buildbot thinks of it. thanks!
> Enhance CS to schedule accounting for both memory and cpu cores
> ---------------------------------------------------------------
>
> Key: MAPREDUCE-4327
> URL: https://issues.apache.org/jira/browse/MAPREDUCE-4327
> Project: Hadoop Map/Reduce
> Issue Type: New Feature
> Components: mrv2, resourcemanager, scheduler
> Affects Versions: 2.0.0-alpha
> Reporter: Arun C Murthy
> Assignee: Arun C Murthy
> Attachments: MAPREDUCE-4327-v2.patch, MAPREDUCE-4327-v3.patch,
> MAPREDUCE-4327-v4.patch, MAPREDUCE-4327-v5.patch, MAPREDUCE-4327.patch
>
>
> With YARN being a general purpose system, it would be useful for several
> applications (MPI et al) to specify not just memory but also CPU (cores) for
> their resource requirements. Thus, it would be useful to the
> CapacityScheduler to account for both.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira