0

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 ?

Raphael Mansuy
  • 213
  • 1
  • 4
  • 10

2 Answers2

0

I was able to force leaving the safe node with the following command:

hdfs dfsadmin -safemode leave
Raphael Mansuy
  • 213
  • 1
  • 4
  • 10
0

Solved: the cause of the issue was a master node nearly full (less than 500MB left).

Raphael Mansuy
  • 213
  • 1
  • 4
  • 10