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

Binding a Tenant to an MRS Cluster User

Scenarios

A newly created tenant cannot directly log in to the cluster to access resources. You need to add a user for the tenant on FusionInsight Manager and bind the user to the role of the tenant to assign operation permissions to the user.

This section uses MRS clusters version 3.x or later as an example.

Prerequisites

You have clarified service requirements and created a tenant.

Binding a Tenant to an MRS Cluster User on the Console

  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 System > Permission > User.
  3. If you want to add a user to the system, click Create.

    Figure 1 Adding a user

    If you want to bind tenant roles to an existing user in the system, locate the row of the user and click Modify in the Operation column.

    Set user attributes according to Table 1.
    Table 1 User parameters

    Parameter

    Description

    Username

    Indicates the current username. The value contains 3 to 32 characters, including digits, letters, underscores (_), hyphens (-), and spaces.

    • The username cannot be the same as the OS username of any node in the cluster. Otherwise, the user cannot be used.
    • A username that differs only in alphabetic case from an existing username is not allowed. For example, if User1 has been created, you cannot create user1. Enter the correct username when using User1.

    User Type

    The options are Human-Machine and Machine-Machine.

    • Human-Machine user: used for FusionInsight Manager O&M and component client operations. If you select this option, set both Password and Confirm Password accordingly.
    • Machine-Machine user: used for application development. If you select this option, the password is randomly generated.

    Password

    This parameter is mandatory if User Type is set to Human-Machine.

    The password must contain 8 to 64 characters of at least four types of the following: uppercase letters, lowercase letters, digits, special characters, and spaces. The password cannot be the username or the username spelled backwards.

    Confirm Password

    Enter the password again.

    User Group

    In the User Group area, click Add and select user groups to add the user to the groups.

    • If roles have been added to the user groups, the user can be granted the permissions of the roles.
    • For example, add the user to the Hive user group to assign Hive permissions to the user.

    Primary Group

    Select a group as the primary group for the user to create directories and files. The drop-down list contains all groups selected in User Group.

    Role

    Click Add to bind a tenant role to the user.

    • To use the resources of tenant tenant1 and add or delete its sub-tenants, a user must be assigned both the Manager_tenant role and the tenant1_Cluster ID role.
    • If the tenant is associated with the HBase service and Ranger authentication is enabled for the cluster, you must configure HBase execution permissions on the Ranger page.

    Description

    Indicates the description of the current user.

  4. Click OK.