Details
-
Sub-task
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
YARN-1011
-
None
-
None
-
Reviewed
Description
The memory overallocate threshold is a float, so is (overAllocationThresholds.getMemoryThreshold() *
containersMonitor.getPmemAllocatedForContainers()). Because Math.round(float) return an int, this would cap effectively the amount of memory available for overallocation to Integer.MAX_VALUE, see the code at here