About the solution of formatting namenode multiple times under hadoop

Foreword: The
namenode is formatted many times under hadoop, and the result is that the cluster cannot be up.

the reason
Insert picture description here

Solution:
Go to the directory where dfs is located

Insert picture description here
Then delete the following data. Restart the cluster after deleting it. (Note: Stop the previous cluster stop-all.sh before restarting)

Insert picture description here

Guess you like

Origin blog.csdn.net/weixin_44695793/article/details/108070213