码迷,mamicode.com
首页 > 其他好文 > 详细

部署CM集群首次运行报错:Formatting the name directories of the current NameNode.

时间:2019-08-16 20:20:29      阅读:89      评论:0      收藏:0      [点我收藏+]

标签:his   原来   目录   csdn   mamicode   ted   try   orm   sdn   

1. 报错提示

Formatting the name directories of the current NameNode. If the name directories are not empty, this is expected to fail.

技术图片

2. 问题原因

之前的namenode格式化了,所以这次不能格式化,需要把原来格式化的删除。

3. 解决方法

1)在/dfs目录下有dn或者nn

[root@hadoop101 dfs]# ls /dfs/
nn snn

删除三台机器(所有机器)的/dfs目录

rm -rf /dfs/

2)然后点击retry即可

技术图片

 

参考:https://blog.csdn.net/u010886217/article/details/85333016

部署CM集群首次运行报错:Formatting the name directories of the current NameNode.

标签:his   原来   目录   csdn   mamicode   ted   try   orm   sdn   

原文地址:https://www.cnblogs.com/MWCloud/p/11366117.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!