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



##########
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/QueuePath.java
##########
@@ -51,6 +51,13 @@ public QueuePath(String parent, String leaf) {
     this.leaf = leaf;
   }
 
+  public static QueuePath createFrom(CSQueue parent, String queueName) {

Review comment:
       You are right, that's a bit heavyweight here.
   Moved the method to AbstractCSQueue and gave it a new name. 
   Please check again.




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