hadoop完全分布式搭建—错误处理
1、zookeeper格式化报错
![在这里插入图片描述](https://img-blog.csdnimg.cn/20200424174915407.png)
解决:
1、hdfs-site.xml中配置的集群名称有问题和配置名称不一致
2、配置文件中最好不要有空格
3、仔细检查配置问题
2、zookeeper格式化拒绝连接
解决:
关闭防火墙(我用的是CentOS-6.0系统)
service iptables stop
chkconfig iptables off
其它系统:
systemctl stop firewalld
systemctl disable firewalld
关闭zookeeper后重启,再进行格式化!
欢迎指教!