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, the provisioned ticket granting ticket (TGT) is still valid within 24 hours. The user can use the TGT for security authentication and access the system.
- If a new user has the same name as the deleted user, the new user will inherit all owner permissions of the deleted user. You are advised to determine whether to delete the resources owned by the deleted user based on service requirements, for example, files in HDFS.
- The default user admin cannot be deleted.
Deleting a Cluster User (MRS 3.x or Later)
- Log in to FusionInsight Manager.
- Choose System > Permission > User.
- Locate the row that contains the target user, click More, and select Delete.
To delete users in batches, select the users at a time and click Delete.
- In the displayed dialog box, click OK.
Deleting a Cluster User (MRS 2.x and Earlier)
- On 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.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot