-
Type:
Sub-task
-
Status: Resolved
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: YARN-1011
-
Fix Version/s: YARN-1011
-
Component/s: None
-
Labels:None
-
Hadoop Flags:Reviewed
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