How to solve org.apache.hadoop.hdfs.server.namenode.SafeModeException: Cannot delete /user/hadoop/.sparkStaging/application_1669132812383_14028. Name node is in safe mode. Resources are low on NN.
What is the cause of the issue ?
How to solve org.apache.hadoop.hdfs.server.namenode.SafeModeException: Cannot delete /user/hadoop/.sparkStaging/application_1669132812383_14028. Name node is in safe mode. Resources are low on NN.
What is the cause of the issue ?
I was able to force leaving the safe node with the following command:
hdfs dfsadmin -safemode leave
Solved: the cause of the issue was a master node nearly full (less than 500MB left).