namenode is safemode
[[email protected] ~]# hadoop dfsadmin -safemode leave
safemode: Access denied for user root. Superuser privilege is required
[[email protected] ~]# su - hdfs
[[email protected] ~]# hdfs dfsadmin -safemode leave
显示安全模式关闭,但用hdfs dfsadmin -safemode get查询还是开的
原因:df -h发现根Use%为100%
最后删除一些日志,解放空间,然后再运行上面命令
时间: 2024-10-01 04:52:35