Updated on 2022-09-14 GMT+08:00

Preparing a Development User

The development user is used to run the sample project. The user must have HBase permissions to run the HBase sample project.

Prerequisites

Kerberos authentication has been enabled for the MRS cluster. Skip this step if Kerberos authentication is not enabled for the cluster.

Procedure

  1. Log in to MRS Manager. For details, see Login to MRS Manager.
  2. Log in to MRS Manager and choose System > Manage Role > Create Role, as shown in Figure 1.

    Figure 1 Creating a role
    1. Enter a role name, for example, hbaserole.
    2. Edit a role. Choose HBase> HBase Scope in Right. Select Admin, Create, Read, Write, and Execute, and click OK, as shown in Figure 2.
    Figure 2 Editing a role

  3. Choose System > Manage User > Create User to create a user for the sample project.
  4. Enter a username, for example, hbaseuser. Set User Type to Machine-machine, and select supergroup in User Group. Set Primary Group to supergroup, select hbaserole in Assign Rights by Role, and click OK. Figure 3 shows the parameter settings.

    Figure 3 Creating a user

  5. On MRS Manager, choose System > User Management. On the displayed page, select hbaseuser from the Username drop-down list. In the Operation column on the right, choose More > Download authentication credential. Save the downloaded package and decompress it to obtain the user.keytab and krb5.conf files for security authentication in the sample project, as shown in Figure 4.

    Figure 4 Downloading the authentication credential

Related Information

If you modify component parameter configurations, you need to download the client configuration file again and update the client in the running and commissioning environment.