-
Type:
Bug
-
Status: Patch Available
-
Priority:
Minor
-
Resolution: Unresolved
-
Affects Version/s: 3.3.0
-
Fix Version/s: None
-
Component/s: resourcemanager
-
Labels:None
-
Target Version/s:
when getting an ApplicationResourceUsageReport instance from the class of SchedulerApplicationAttempt, I found the input constructor parameter(reservedContainers.size()) is wrong. because the type of this variable is Map<SchedulerRequestKey, Map<NodeId, RMContainer>>, so "reservedContainer.size()" is not the number of containers, but the number of SchedulerRequestKey.