Updated on 2024-09-23 GMT+08:00

Restoring MRS Tenant Data After YARN Is Reinstalled

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

  • 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.

Restoring Tenant Data

  1. Go to the Tenant page.

    • On the MRS management console: Click the target cluster. On the cluster details page, click Tenant.
    • On the Manager of an MRS 3.x or later cluster: Click Tenant Resources.
    • On the Manager of an MRS 2.x or later cluster: Click Tenant.

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

    1. In the Summary tab, check Tenant Status. A green icon indicates that the tenant is available and gray indicates that the tenant is unavailable.
    2. Click Resources and check the status 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.

    To restore data on the Manager of an MRS 3.x or later cluster, click . In the displayed dialog box, enter the password of the current user and click OK.

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