Help Center > > User Guide> Managing an Existing Cluster> Tenant Management> Configuring the Queue Capacity Policy of a Resource Pool

Configuring the Queue Capacity Policy of a Resource Pool

Updated at: Mar 25, 2021 GMT+08:00

Scenario

After a resource pool is added, the capacity policies of available resources need to be configured for Yarn task queues. This ensures that tasks in the resource pool are running properly. Each queue can be configured with the queue capacity policy of only one resource pool. Users can view the queues in any resource pool and configure queue capacity policies. After the queue policies are configured, Yarn task queues and resource pools are associated.

You can configure queue policies on MRS.

Prerequisites

  • A resource pool has been added.
  • The task queues are not associated with other resource pools. By default, all queues are associated with the Default resource pool.
  • You have synchronized IAM users (on the Dashboard tab page, click Click to synchronize on the right side of IAM User Sync to synchronize IAM users).
    Figure 1 Synchronizing IAM users

Procedure

  1. On the MRS details page, click Tenants.

    Figure 2 Tenants

    For MRS 1.8.10 or earlier, see Configuring the Queue Capacity Policy of a Resource Pool. For MRS 3.0.2 or later, see Overview.

  2. Click the Resource Distribution Policies tab.
  3. In Resource Pools, select a specified resource pool.

    Available Resource Quota: indicates that all resources in each resource pool are available for queues by default.

  4. Locate the specified queue in the Resource Allocation table, and click Modify in the Operation column.
  5. In Modify Resource Allocation, configure the resource capacity policy of the task queue in the resource pool.

    • Capacity (%): specifies the percentage of the current tenant's computing resource usage.
    • Maximum Capacity (%): specifies the percentage of the current tenant's maximum computing resource usage.

  6. Click OK to save the settings.

Did you find this page helpful?

Submit successfully!

Thank you for your feedback. Your feedback helps make our documentation better.

Failed to submit the feedback. Please try again later.

Which of the following issues have you encountered?







Please complete at least one feedback item.

Content most length 200 character

Content is empty.

OK Cancel