Updated on 2022-08-12 GMT+08:00

Configuring the Queue Capacity Policy of a Resource Pool

Scenario

After a resource pool is added, the capacity policy of available resources needs to be configured for Yarn task queues to ensure proper task running in the resource pool. Each queue can be configured with the queue capacity policy of one resource pool only.

Administrators can View queues in any resource pool and configure the queue capacity policy. After the queue policies are configured, Yarn task queues are associated with resource pools.

Prerequisites

Queues are added, this is, tenants associated to compute resources are created.

Procedure

  1. Log in to FusionInsight Manager.
  2. Choose Tenant Resources > Dynamic Resource Plan.

    By default, the Resource Distribution Policy tab page is displayed.

  3. Set Cluster to the name of the cluster to be operated. In Resource Pool, select the specified resource pool.
  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.

    • Resource Capacity (%): specifies the computing resource usage percent of the current tenant.
    • Maximum Resource Capacity (%): specifies the maximum computing resource usage percent of the current tenant.

  6. Click OK to save the settings.

    To cancel the resource capacity policy of the task queue in the resource pool, delete the resource capacity value and save the setting. Then the queue is disassociated with the resource pool. Change the default resource pool of the queue to another resource pool. For details, see Configuring a Queue.