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

Configuring the Queue Capacity Policy of a Resource Pool

Scenario

After a resource pool is added, capacity policies of available resources need to be configured for Yarn task queues to ensure the proper running of tasks in the resource pool.

This section describes how to configure the queue policy on FusionInsight Manager. Tenant queues with the Superior scheduler can use resources in different resource pools.

Prerequisites

  • You have logged in to FusionInsight Manager.
  • You have added a resource pool.
  • The task queue is not associated with resource pools of other queues except the default resource pool.

Procedure

  1. On FusionInsight Manager, click Tenant Resources.
  2. Click the Dynamic Resource Plan tab.
  3. Click the Resource Distribution Policy tab.
  4. Set Cluster to the name of the cluster to be operated. In Resource Pool, select the specified resource pool.
  5. Locate the specified queue in Resource Allocation, and click Modify in the Operation column.
  6. On the Resource Configuration Policy tab page in Modify Resource Allocation, configure the resource allocation policy for the task queue in the resource pool.

    • Weight: indicates the resources that a tenant can obtain. Its initial value is the same as the minimum resource percentage.
    • Minimum Resource: indicates the minimum resources that a tenant can obtain.
    • Maximum Resource: indicates the maximum resources that a tenant can obtain.
    • Reserved Resource: indicates the resources that are reserved for a tenant and cannot be shared by other tenants.

  7. On the User Policy tab page in Modify Resource Allocation, configure the user policy.

    defaultUser(built-in) indicates that the policy specified by defaultUser is used if a user does not specify a policy. The default policy cannot be deleted.

    • Click Add User Policy to add a user policy.
      • Username: indicates the user name.
      • Weight: indicates the resources that a user can obtain.
      • Max vCores: indicates the maximum number of virtual cores that a user can obtain.
      • Max Memory(MB): indicates the maximum memory that a user can obtain.
    • Click Modify in the Operation column to modify a user policy.
    • Click Clear in the Operation column to delete a user policy.

  8. Click OK to save the configuration.