szilard-nemeth commented on a change in pull request #3360:
URL: https://github.com/apache/hadoop/pull/3360#discussion_r706177575



##########
File path: 
hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/main/java/org/apache/hadoop/yarn/server/resourcemanager/scheduler/capacity/AbstractCSQueue.java
##########
@@ -1091,7 +1092,8 @@ Resource getQueueMaxResource(String nodePartition) {
     return getEffectiveMaxCapacity(nodePartition);
   }
 
-  public boolean hasChildQueues() {

Review comment:
       As a second thought: hasChildQueues is called from 
org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.AbstractCSQueue#canAssignToThisQueue
 so technically it could have been private if it wasn't accessed from test code 
so I think VisibleForTesting is correct here.




-- 
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]

Reply via email to