Details
-
Bug
-
Status: Resolved
-
Blocker
-
Resolution: Fixed
-
3.0.0-alpha2
-
None
-
Reviewed
Description
preemptContainers() calls trackContainerForPreemption() to collect the list of containers and resources that were preempted for an application. Later the list is reduced when containerCompleted() calls untrackContainerForPreemption(). The bug is that the resource variable preemptedResources is subtracted, not just when the container was preempted but also when it has completed successfully. This causes that we return an incorrect value in getResourceUsage().
Attachments
Attachments
Issue Links
- is broken by
-
YARN-4752 FairScheduler should preempt for a ResourceRequest and all preempted containers should be on the same node
- Resolved