Details
-
Sub-task
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
YARN-3926
-
Reviewed
Description
The setMinimumAllocationForMandatoryResources() and setMaximumAllocationForMandatoryResources() methods are quite convoluted. They'd be much simpler if they just handled CPU and memory manually instead of trying to be clever about doing it in a loop. There are also issues, such as the log warning always talking about memory or the last element of the inner array being a copy of the first element.