11.1. Refreshing YARN Capacity Scheduler
This topic describes how to “refresh” the Capacity Scheduler from Ambari in cases where you have added or modified existing queues. After you modify the Capacity Scheduler configuration, YARN supports refreshing the queues without requiring you to restart your ResourceManager. The “refresh” operation is valid if you have made no destructive changes to your configuration. Removing a queue is an example of a destructive change.
In Ambari Web, browse to Services > YARN > Summary.
Select Service Actions, then choose Refresh YARN Capacity Scheduler.
Confirm you would like to perform this operation.
The refresh operation is submitted to the YARN ResourceManager.
Important | |
---|---|
The Refresh operation will fail with the following message: “Failed to re-init queues” if you attempt to refresh queues in a case where you performed a destructive change, such as removing a queue. In cases where you have made destructive changes, you must perform a ResourceManager restart for the capacity scheduler change to take effect. |