Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
2.0.0-alpha
-
None
Description
In FS, FSQueueSchedulable#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.
Attachments
Attachments
Issue Links
- is cloned by
-
MAPREDUCE-4556 FairScheduler: PoolSchedulable#updateDemand() has potential redundant computation
- Closed