Help Center/
MapReduce Service/
User Guide (Kuala Lumpur Region)/
Troubleshooting/
Cluster Management/
MRS Becomes Abnormal After hostname Modification
Updated on 2022-12-14 GMT+08:00
MRS Becomes Abnormal After hostname Modification
Issue
What should I do if MRS becomes abnormal after hostname is modified?
Symptom
MRS becomes abnormal after hostname is modified.
Possible Cause
The hostname modification causes compatibility problems and faults.
Procedure
- Log in to any node in the cluster as user root.
- Run the cat /etc/hosts command on the node to check the value of hostname of each node and set the newhostname variable based on the value.
- Run the sudo hostnamectl set-hostname ${newhostname} command on the node where hostname is modified to restore the correct hostname.
${newhostname}: new value of hostname
- After the modification, log in to the node where hostname is modified, and check whether the new hostname takes effect.
Parent topic: Cluster Management
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.
The system is busy. Please try again later.
For any further questions, feel free to contact us through the chatbot.
Chatbot