问题出现的原因是我在做zookeeper集群的时候出现的,我第一次以为是我的myid有问题。然后检查了3台机器的myid都没问题
后来我发现是不是我的防火墙是不是没关。果然-----然后我关掉了防火墙,重新启动以后就没有在出现了,下图是我的操作过程
关闭防火墙命令:
[root@node1 ~]# systemctl stop firewalld.service
[root@node1 ~]# systemctl disable firewalld.service
问题出现的原因是我在做zookeeper集群的时候出现的,我第一次以为是我的myid有问题。然后检查了3台机器的myid都没问题
后来我发现是不是我的防火墙是不是没关。果然-----然后我关掉了防火墙,重新启动以后就没有在出现了,下图是我的操作过程
关闭防火墙命令:
[root@node1 ~]# systemctl stop firewalld.service
[root@node1 ~]# systemctl disable firewalld.service