Help Center/ MapReduce Service/ User Guide (ME-Abu Dhabi Region)/ Troubleshooting/ Using HDFS/ An Error Is Reported During HDFS and Yarn Startup
Updated on 2022-12-08 GMT+08:00

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

  1. Log in to any Master node in the cluster as user root.
  2. After successful login, run the chmod 666 /dev/null command to modify the permission value of /dev/null to 666.
  3. 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.
  4. After the modification is successful, restart HDFS and Yarn.