Help Center > > User Guide> Managing Active Clusters> Tenant Management> Deleting a Tenant

Deleting a Tenant

Updated at: Apr 28, 2020 GMT+08:00

Scenario

On MRS, you can delete a tenant that is not required.

Prerequisites

  • A tenant has been added.
  • 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. For details about how to cancel the binding between roles and users, see Modifying User Information.
  • IAM user synchronization has been completed. (On the Dashboard tab page of the cluster details page, click on the right side of IAM User Sync to synchronize IAM users.)
    Figure 1 IAM User Sync

Procedure

  1. On the MRS cluster details page, click Tenants.

    Figure 2 Tenants

    For MRS 1.8.10 or earlier, follow instructions in Deleting a Tenant.

  2. In the tenant list on the left, move the cursor to the tenant node where the tenant is to be deleted. Click Delete.

    The Delete Tenant dialog box is displayed. To save tenant data, select Reserve the data of this tenant. Otherwise, the tenant storage space will be deleted.

  3. Click OK.

    It takes a few minutes to save the configuration. The tenant is deleted successfully. The tenant's role and storage space are deleted.

    • After the tenant is deleted, the tenant's task queue persists in Yarn.
    • If you choose not to reserve data when deleting the parent tenant, data of sub-tenants is also deleted if the sub-tenants use storage resources.

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