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 2021/08/24 12:07:41 UTC

[GitHub] [hadoop] tomicooler commented on a change in pull request #3314: YARN-10891. Extend QueueInfo with max-parallel-apps in CS.

tomicooler commented on a change in pull request #3314:
URL: https://github.com/apache/hadoop/pull/3314#discussion_r694787686



##########
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/CSQueue.java
##########
@@ -151,6 +151,12 @@
    * @return current run-state
    */
   public QueueState getState();
+
+  /**
+   * Get the max-parallel-applications property of the queue
+   * @return max-parallel-applications
+   */
+  public int getMaxParallelApps();

Review comment:
         CapacitySchedulerQueueInfo(CapacityScheduler cs, CSQueue q) {
       weight = q.getQueueCapacities().getWeight();     // the getWeight method was already implemented
       maxParallelApps = q.getMaxParallelApps();          // the CSQueue interface must be extended to implement this feature




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