You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by GitBox <gi...@apache.org> on 2022/01/10 14:37:46 UTC

[GitHub] [hadoop] brumi1024 commented on a change in pull request #3874: YARN-11017. Unify node label access in queues

brumi1024 commented on a change in pull request #3874:
URL: https://github.com/apache/hadoop/pull/3874#discussion_r781246535



##########
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/AutoCreatedLeafQueue.java
##########
@@ -149,8 +149,7 @@ private void validate(final CSQueue newlyParsedQueue) throws IOException {
 
   private void updateCapacitiesToZero() throws IOException {
     try {
-      for( String nodeLabel : parent.getQueueCapacities().getExistingNodeLabels
-          ()) {
+      for( String nodeLabel : parent.getNodeLabelsForQueue()) {

Review comment:
       Minor nit: can you please fix the whitespace around the opening parentheses?




-- 
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: common-issues-unsubscribe@hadoop.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org