-
Type:
Bug
-
Status: Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 2.8.0, 2.6.5, 2.7.4, 3.0.0-alpha1
-
Component/s: resourcemanager
-
Labels:None
-
Target Version/s:
-
Hadoop Flags:Reviewed
It is observed that RM triggers an one event for every ApplicationMaster#allocate request in the following trace. This is not necessarily required and it can be optimized such that send only if any containers are there to acknowledge to NodeManager.
RMAppAttemptImpl.sendFinishedContainersToNM() line: 1871 RMAppAttemptImpl.pullJustFinishedContainers() line: 805 ApplicationMasterService.allocate(AllocateRequest) line: 567