[ 
https://issues.apache.org/jira/browse/YARN-11474?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17715336#comment-17715336
 ] 

ASF GitHub Bot commented on YARN-11474:
---------------------------------------

slfan1989 commented on code in PR #5577:
URL: https://github.com/apache/hadoop/pull/5577#discussion_r1174491274


##########
hadoop-yarn-project/hadoop-yarn/hadoop-yarn-client/src/main/java/org/apache/hadoop/yarn/client/cli/QueueCLI.java:
##########
@@ -171,4 +210,29 @@ private void printQueueInfo(PrintWriter writer, QueueInfo 
queueInfo) {
       writer.println(intraQueuePreemption ? "disabled" : "enabled");
     }
   }
+
+  private void printQueueInfos(PrintWriter writer, List<QueueInfo> queueInfos) 
{
+    writer.print(queueInfos.size() + " queues were found : \n");
+    writer.print("Queue Name\tQueue Path\tState\tCapacity\tCurrent Capacity" +
+            "\tMaximum Capacity\tWeight\tMaximum Parallel Apps\n");

Review Comment:
   5 chars





> The yarn queue list is displayed on the CLI
> -------------------------------------------
>
>                 Key: YARN-11474
>                 URL: https://issues.apache.org/jira/browse/YARN-11474
>             Project: Hadoop YARN
>          Issue Type: Improvement
>          Components: client
>    Affects Versions: 3.3.4
>            Reporter: Lu Yuan
>            Priority: Minor
>              Labels: pull-request-available
>             Fix For: 3.3.4
>
>
> The yarn queue list is displayed on the CLI



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to