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