TiborKovacsCloudera commented on a change in pull request #3660:
URL: https://github.com/apache/hadoop/pull/3660#discussion_r765487582



##########
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
##########
@@ -59,6 +60,15 @@ public QueuePath(String fullPath) {
     setFromFullPath(fullPath);
   }
 
+  /**
+   * Concatenate queue path parts into one queue path string.
+   * @param parts Parts of the full queue pathAutoCreatedQueueTemplate
+   * @return full path of the given queue parts
+   */
+  public static String concatenatePath(String... parts) {

Review comment:
       This is used at here: TestRMWebServicesCapacitySched@verifySubQueueXML 
at line 339
   
   for (int k = 0; k < qListInfos.getLength(); k++) {
     Element qElem3 = (Element) qListInfos.item(k);
     String qName3 = WebServicesTestUtils.getXmlString(qElem3, "queueName");
     **String q3 = QueuePath.concatenatePath(queue, qName3);**
     verifySubQueueXML(qElem3, q3, qi.absoluteCapacity, qi.absoluteMaxCapacity);
   }




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