编程语言
首页 > 编程语言> > Ambari安装后NameNode无法启动 404 - Retrying after 10 seconds. Reason:

Ambari安装后NameNode无法启动 404 - Retrying after 10 seconds. Reason:

作者:互联网

问题描述:

在Ambari中启动HDFS中namenode时出现404 - Retrying after 10 seconds. Reason: Execution of '/usr/hdp/current/hadoop-hdfs-namenode/bin/hdfs dfsadmin -fs hdfs://master:8020 -safemode get | grep 'Safe mode is OFF'' returned 1.错误

 

解决方法:

# su hdfs   //切换到hdfs用户,ambari默认HDFS最高权限用户是hdfs
# hadoop dfsadmin -safemode leave   //离开安全模式

标签:10,Ambari,hdfs,seconds,dfsadmin,hadoop,Retrying,Reason,namenode
来源: https://blog.csdn.net/mighty13/article/details/88668531