The YARN Capacity Scheduler UI is a modern web interface for managing the YARN Capacity Scheduler configuration. It provides visual queue management, node label administration, placement rule editing, and global scheduler settings — all from the browser.
Key features include:
The Capacity Scheduler UI must be built by passing -Pyarn-ui to Maven. Refer to BUILDING.txt for more details.
In yarn-site.xml
| Configuration Property | Description |
|---|---|
yarn.webapp.scheduler-ui.enable |
(Required) Enables the Capacity Scheduler UI on the ResourceManager. Defaults to false. |
yarn.webapp.scheduler-ui.war-file-path |
(Optional) WAR file path for the Capacity Scheduler UI web application. By default this is empty and YARN will look up the required WAR file from the classpath. |
yarn.webapp.scheduler-ui.read-only.enable |
(Optional) When set to true, the UI operates in read-only mode: users can view configuration and stage changes for review, but cannot apply mutations to the cluster. Defaults to false. |
If you run YARN daemons locally for testing, you need the following configurations added to yarn-site.xml to enable cross-origin (CORS) support.
| Configuration Property | Value | Description |
|---|---|---|
yarn.resourcemanager.webapp.cross-origin.enabled |
true | Enable CORS support for Resource Manager |
Also ensure that CORS related configurations are enabled in core-site.xml. Refer to HTTP Authentication for details.
Open your browser and go to rm-address:8088/scheduler-ui.
/scheduler-ui path./ws/v1/cluster/.