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

Deleting an MRS Cluster User

Based on service requirements, you can delete system users that are no longer used on Manager.

  • After a user is deleted, their provisioned TGT remains valid for up to 24 hours and can still be used for security authentication and system access.
  • If a new user is created with the same name as a deleted user, the new user inherits all owner permissions of the deleted user. You may decide whether to delete the resources owned by a deleted user, such as HDFS files, based on service requirements.
  • The default user admin cannot be deleted.

Deleting a Cluster User (MRS 3.x or Later)

  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. Locate the row that contains the target user, click More, and select Delete.

    To delete users in batches, select multiple users and click Delete.

  4. In the displayed dialog box, click OK.

Deleting a Cluster User (MRS 2.x and Earlier)

  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. Click System.
  3. In the Permission area, click Manage User.

    Figure 1 User management

  4. In the row that contains the user to be deleted, choose More > Delete.

    Figure 2 Deleting a user

  5. Click OK.

    If you want to create a new user with the same name as user A after deleting user A who has submitted a job on the client or MRS console, you need to delete user A's residual folders when deleting user A. Otherwise, the newly created user A may fail to submit a job.

    To delete residual folders, log in to each Core node in the MRS cluster and run the following commands. In the following commands, $user indicates the folder named after the username.

    cd /srv/BigData/hadoop/data1/nm/localdir/usercache/

    rm -rf $user