Linux系统每次重新启动后,hadoop不能正常启动namenode,需要重新格式化namenode才可启动

dfs/name is in an inconsistent state: storage directory does not exist or is not accessible_hdfs

因此重新初始化:

hdfs namenode -format

然后再执行一次dfs即可:

start-dfs.sh

这样就可以打开页面了

dfs/name is in an inconsistent state: storage directory does not exist or is not accessible_重新启动_02