An Error Is Reported During HDFS and Yarn Startup
Issue
An error is reported during HDFS and Yarn startup.
Symptom
HDFS and Yarn fail to be started. The following error information is displayed: /dev/null Permission denied
Cause Analysis
The customer changed the permission value of /dev/null of the VM system to 775.
Procedure
- Log in to any Master node in the cluster as user root.
- After successful login, run the chmod 666 /dev/null command to modify the permission value of /dev/null to 666.
- Run the ls -al /dev/null command to check whether the new permission value of /dev/null is 666. If it is not, change the value to 666.
- After the modification is successful, restart HDFS and Yarn.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.