Updated on 2025-12-10 GMT+08:00

Managing MRS Tenant Resource Pools

When hosts in a resource pool need to be adjusted based on service requirements, you can modify members in the resource pool on MRS.

Prerequisites

  • The IAM users have been synchronized in advance. You can do this by clicking Synchronize next to IAM User Sync on the Dashboard page of the cluster details.
  • You have logged in to MRS Manager. For how to log in, see Accessing MRS Manager.
  • To delete a resource pool, the following requirements must be met:
    • Any queue in a cluster cannot use the resource pool to be deleted as the default resource pool. Before deleting the resource pool, cancel the default resource pool. For details, see Configuring the MRS Tenant Queue.
    • Resource distribution policies of all queues have been cleared from the resource pool being deleted. For details, see Clearing the MRS Tenant Queue Configuration.

Managing Resource Pools on the MRS Console

  1. Log in to the MRS console.
  2. On the Active Clusters page, select a running cluster and click its name to switch to the cluster details page.
  3. On the cluster details page, click Tenants.
  4. Click the Resource Pools tab.
  5. Locate the row that contains the specified resource pool, and click Modify in the Operation column.
  6. Manage hosts in a resource pool.

    • Adding a host: In the host list on the left, select the specified host name and add it to the resource pool.
    • Deleting a host: In the host list on the right, click next to a host to remove the host from the resource pool. The host list of a resource pool can contain no hosts.

  7. Click OK.

    Locate the row that contains the target resource pool in the Resource Pools tab, and click Delete in the Operation column. In the displayed dialog box, click OK.

  8. Check whether there are running resident jobs, such as Flink streaming jobs, on the target host.

    • If yes, perform the following steps to decommission and recommission the NodeManager instances on the hosts whose resource pool has changed:
      1. On MRS Manager, choose Cluster > Services > Yarn > Instances.
      2. Select the NodeManager instances that have the same host names as the hosts whose resource pool has changed.
      3. Choose More > Decommission, enter the user password, confirm the decommissioning impact, and click OK. Wait until the decommissioning completes successfully.
      4. Select the decommissioned instances, choose More > Recommission, enter the user password, confirm the recommissioning impact, and click OK. Wait until the recommissioning completes successfully.
    • If no, no further action is required.

Managing Resource Pools on Manager

  1. Log in to FusionInsight Manager of the MRS cluster.

    For details about how to log in to FusionInsight Manager, see Accessing MRS Manager.

  2. Choose Tenant Resources > Resource Pool.

    For MRS 2.x or earlier versions, choose Tenant > Resource Pool.

  3. Locate the row that contains the specified resource pool, and click Edit in the Operation column.

    For MRS 2.x and earlier versions and MRS 3.3.0 and later versions, click Modify.

  4. Manage hosts in a resource pool.

    • Adding a host: Select the name of a specified host in host list on the left and click >> to add the selected host to the resource pool.
    • Deleting a host: In the host list on the right, select the name of a specified host and click << to add the selected host to the resource pool. The host list of a resource pool can be left blank.

  5. Click OK.

    Locate the row that contains the target resource pool in the Resource Pools tab, and click Delete in the Operation column. In the displayed dialog box, click OK.

  6. Check whether there are running resident jobs, such as Flink streaming jobs, on the target host.

    • If yes, perform the following steps to decommission and recommission the NodeManager instances on the hosts whose resource pool has changed:
      1. On MRS Manager, choose Cluster > Services > Yarn > Instances.
      2. Select the NodeManager instances that have the same host names as the hosts whose resource pool has changed.
      3. Choose More > Decommission, enter the user password, confirm the decommissioning impact, and click OK. Wait until the decommissioning completes successfully.
      4. Select the decommissioned instances, choose More > Recommission, enter the user password, confirm the recommissioning impact, and click OK. Wait until the recommissioning completes successfully.
    • If no, no further action is required.