slfan1989 commented on PR #4946: URL: https://github.com/apache/hadoop/pull/4946#issuecomment-1262473839
@goiri Can you help review this pr? Thank you very much! When displaying Federation Schedule Metric information, because scheduling information cannot be accumulated (Scheduler Type, Scheduling Resource Type, Maximum Cluster Application Priority), We can only display information in every subcluster. There is currently no suitable interface to return this information. We originally planned to modify it in RMWebServices#getSchedulerInfo, but found the following problems: 1.getSchedulerInfo will return all the information of the queue, but we only need a few of the more critical information. 2.After adding information, some unit tests have errors, because the unit tests will verify the number of fields in the returned result. I decided to create a separate new interface `getSchedulerOverview` for querying scheduling overview information. This interface will display the following information: | Cols | | ------------- | | Scheduler Type | | Scheduling Resource Type | | Minimum Allocation | | Maximum Allocation | | Maximum Cluster Application Priority | | Scheduler Busy % | | RM Dispatcher EventQueue Size % | | Scheduler Dispatcher EventQueue Size % | ] In this pr(https://github.com/apache/hadoop/pull/4947), I added an interface(`getSchedulerOverview`), also please help to review. -- 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]
