ayushtkn commented on code in PR #6021:
URL: https://github.com/apache/hadoop/pull/6021#discussion_r1769492431
##########
hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/main/java/org/apache/hadoop/yarn/server/resourcemanager/scheduler/capacity/CapacityScheduler.java:
##########
@@ -1737,6 +1737,10 @@ private CSAssignment allocateContainerOnSingleNode(
private void allocateFromReservedContainer(FiCaSchedulerNode node,
boolean withNodeHeartbeat, RMContainer reservedContainer) {
+ if(reservedContainer == null){
+ LOG.warn("reservedContainer is null,that may be unreserved by the
proposal judgment thread");
Review Comment:
nit
add space after ,
--
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]