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)
- Log in to FusionInsight Manager of the MRS cluster.
For details about how to log in to FusionInsight Manager, see Accessing MRS Manager.
- Choose System > Permission > User.
- Locate the row that contains the target user, click More, and select Delete.
To delete users in batches, select multiple users and click Delete.
- In the displayed dialog box, click OK.
Deleting a Cluster User (MRS 2.x and Earlier)
- Log in to FusionInsight Manager of the MRS cluster.
For details about how to log in to FusionInsight Manager, see Accessing MRS Manager.
- Click System.
- In the Permission area, click Manage User.
Figure 1 User management
- In the row that contains the user to be deleted, choose .
Figure 2 Deleting a user
- 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
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.