解决ZooKeeper集群节点状态报错Client address: localhost. Error contacting service. It is probably not running
Posted 闭关苦炼内功
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了解决ZooKeeper集群节点状态报错Client address: localhost. Error contacting service. It is probably not running相关的知识,希望对你有一定的参考价值。
出现问题:
启动ZK三节点集群,master节点查看状态报错,另外两个节点均正常
看截图
报错详情:
Client port found: 2181. Client address: localhost.
Error contacting service. It is probably not running.
根本原因:
master节点没关墙
终极解决方法:
-
解法1:通过命令进入cd /usr/local/zookeeper/data中找到zookeeper_server.pid文件,然后干掉它,重启zookeeper集群
-
解法2:关闭防火墙,systemctl stop firewalld.service,重启zookeeper。
一定要注意细节,搞之前就要关墙
做技术,一定要严谨!!!
以上是关于解决ZooKeeper集群节点状态报错Client address: localhost. Error contacting service. It is probably not running的主要内容,如果未能解决你的问题,请参考以下文章
zookeeper集群查看状态时报错Error contacting service. It is probably not running的一些坑以及解决办法
flink hadoop 从0~1分布式计算与大数据项目实战zookeeper内部原理流程简介以及java curator client操作集群注册,读取