登录    关于
马育民老师的博客

马育民的博客

QQ:65242847

Resources are low on NN. Please add or free up more resources then turn off safe mode manually

错误描述

向 HDFS 上传文件时,提示下面错误:

Resources are low on NN. Please add or free up more resources then turn off safe mode manually. NOTE:  If you turn off safe mode before adding resources, the NN will immediately return to safe mode. Use "hdfs dfsadmin -safemode leave" to turn safe mode off.

解决

可能是磁盘快占满了,执行下面命令查看:

查看磁盘占用大小:

df -hl
du -sh /

原文出处:http://malaoshi.top/show_1IX2FzsdlA9g.html