Deleting an MRS Tenant
You can delete MRS tenants that are no longer used based on service requirements, releasing resources occupied by the tenants.
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.
- You have checked whether the tenant to be deleted has sub-tenants. If the tenant has sub-tenants, delete them; otherwise, you cannot delete the tenant.
- The role of the tenant to be deleted cannot be associated with any user or user group.
Deleting a Tenant on the MRS Management Console
- Log in to the MRS console.
- On the cluster details page, click Tenants.
- In the tenant list on the left, move the cursor to the tenant node to be deleted and click Delete.
The Delete Tenant dialog box is displayed. If you want to save the tenant data, select Reserve the data of this tenant. Otherwise, the tenant's storage space will be deleted.
- Click OK.
It takes a few minutes to save the configuration. After the tenant is deleted successfully, the tenant's role and storage space are also removed.
- Deleting a tenant does not automatically remove its task queue from YARN.
- If you choose not to reserve data when deleting the parent tenant, the data of sub-tenants that use storage resources is also deleted.
Deleting a Tenant on Manager
For MRS 3.x and later versions:
- Log in to FusionInsight Manager of the MRS cluster.
For details about how to log in to FusionInsight Manager, see Accessing MRS Manager.
- Click Tenant Resources.
- In the tenant list on the left, click the target tenant and click
.
- If you want to save the tenant data, select Reserve the data of this tenant. Otherwise, the tenant's storage space will be deleted.
- To delete a tenant without retaining its data as a user outside the supergroup, first log in to the HDFS client as a supergroup user, and then manually clear the tenant's storage space to avoid residual data.
- In the Delete Tenant dialog box, enter DELETE in the confirmation text box. Click OK.
It takes a few minutes to save the configuration. After the tenant is deleted successfully, the tenant's role and storage space are also removed.
Deleting a tenant does not automatically remove its task queue from YARN. The tenant's queue is not displayed on the role management page in YARN.
For MRS 2.x and earlier versions:
- Log in to FusionInsight Manager of the MRS cluster.
For details about how to log in to FusionInsight Manager, see Accessing MRS Manager.
- Click Tenant.
- In the tenant list on the left, move the cursor to the tenant node to be deleted and click Delete.
The Delete Tenant dialog box is displayed. If you want to save the tenant data, select Reserve the data of this tenant. Otherwise, the tenant's storage space will be deleted.
- Click OK.
It takes a few minutes to save the configuration. After the tenant is deleted successfully, the tenant's role and storage space are also removed.
- Deleting a tenant does not automatically remove its task queue from YARN.
- If you choose not to reserve data when deleting the parent tenant, the data of sub-tenants that use storage resources is also deleted.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.