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 "Alejandro Abdelnur (JIRA)" <ji...@apache.org> on 2012/08/14 01:45:37 UTC
[jira] [Moved] (YARN-23) FairScheduler:
PoolSchedulable#updateDemand() - potential redundant aggregation
[ https://issues.apache.org/jira/browse/YARN-23?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Alejandro Abdelnur moved MAPREDUCE-4518 to YARN-23:
---------------------------------------------------
Component/s: (was: contrib/fair-share)
scheduler
Affects Version/s: (was: 1.0.3)
2.1.0-alpha
Workflow: jira (was: no-reopen-closed, patch-avail)
Key: YARN-23 (was: MAPREDUCE-4518)
Project: Hadoop YARN (was: Hadoop Map/Reduce)
> FairScheduler: PoolSchedulable#updateDemand() - potential redundant aggregation
> -------------------------------------------------------------------------------
>
> Key: YARN-23
> URL: https://issues.apache.org/jira/browse/YARN-23
> Project: Hadoop YARN
> Issue Type: Improvement
> Components: scheduler
> Affects Versions: 2.1.0-alpha
> Reporter: Karthik Kambatla
> Assignee: Karthik Kambatla
> Attachments: MR-4518_branch1.patch, trunk-MR-4518.patch, trunk-MR-4518.patch
>
>
> In FS, PoolSchedulable#updateDemand() limits the demand to maxTasks only after iterating though all the pools and computing the final demand.
> By checking if the demand has reached maxTasks in every iteration, we can avoid redundant work, at the expense of one condition check every iteration.
--
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