Apache Ambari User Guide
Also available as:
PDF
loading table of contents...

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.

  1. In Ambari Web, browse to Services > YARN > Summary.

  2. Select Service Actions, then choose Refresh YARN Capacity Scheduler.

  3. Confirm you would like to perform this operation.

  4. The refresh operation is submitted to the YARN ResourceManager.

[Important]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.