Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
2.8.0, 2.7.2
-
None
-
Reviewed
Description
FSAppAttempt adds duplicate ResourceRequest to demand in updateDemand. We should only count ResourceRequest for ResourceRequest.ANY when calculate demand.
Because hasContainerForNode will return false if no container request for ResourceRequest.ANY and both allocateNodeLocal and allocateRackLocal will also decrease the number of containers for ResourceRequest.ANY.
This issue may cause current memory demand overflow(integer) because duplicate requests can be on multiple nodes.
Attachments
Attachments
Issue Links
- is related to
-
YARN-1458 FairScheduler: Zero weight can lead to livelock
-
- Resolved
-