minni31 commented on a change in pull request #3779:
URL: https://github.com/apache/hadoop/pull/3779#discussion_r784028470
##########
File path:
hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/src/main/java/org/apache/hadoop/yarn/server/nodemanager/containermanager/scheduler/ContainerScheduler.java
##########
@@ -429,6 +480,21 @@ private boolean
resourceAvailableToStartContainer(Container container) {
return this.utilizationTracker.hasResourcesAvailable(container);
}
+ private boolean resourceAvailableToQueueOppContainer(
Review comment:
IIUC, we are doing this check after localization is done. Shouldn't this
check be done at the time of container start to avoid wasting NM resources.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]