Updated on 2023-05-15 GMT+08:00

Restoring Tenant Data

Scenario

Tenant data is stored on Manager and in cluster components by default. When components are restored from faults or reinstalled, some tenant configuration data may be abnormal. In this case, you can manually restore the tenant data.

Prerequisites

You have synchronized IAM users. (On the Dashboard page, click Synchronize on the right side of IAM User Sync to synchronize IAM users.)

Figure 1 Synchronizing IAM users

Procedure

  1. On the MRS details page, click Tenants.

    Figure 2 Tenants tab page

    For MRS 3.x or later, see Overview.

  2. In the tenant list on the left, click a tenant node.
  3. Check the status of the tenant data.

    1. In Summary, check the color of the circle on the left of Basic Information. Green indicates that the tenant is available and gray indicates that the tenant is unavailable.
    2. Click Resources and check the circle on the left of Yarn or HDFS Storage. Green indicates that the resource is available, and gray indicates that the resource is unavailable.
    3. Click Service Association and check the Status column of the associated service table. Good indicates that the component can provide services for the associated tenant. Bad indicates that the component cannot provide services for the tenant.
    4. If any check result is abnormal, go to 4 to restore tenant data.

  4. Click Restore Tenant Data.
  5. In the Restore Tenant Data window, select one or more components whose data needs to be restored. Click OK. The system automatically restores the tenant data.