linyuan123
linyuan123
/tmp/systemd-private-09ac2ced82c54236ba2da3c8178cef62-jafka.service-H8rc6o/tmp/jafka-data/CLJLXX-2 路径多了前面的部分
2016-11-03 14:25:39.292 INFO ZookeeperConsumerConnector - Connecting to zookeeper instance at 192.168.1.97:2181,192.168.1.98:2181,192.168.1.96:2181 2016-11-03 14:25:39.312 INFO ZkEventThread - Starting ZkClient event thread. 2016-11-03 14:25:39.381 INFO ClientCnxn$SendThread - Opening socket connection to server...
还有用给的java demo 发送消息也报错了 2016-11-03 14:26:47.554 INFO ZkEventThread - Starting ZkClient event thread. 2016-11-03 14:26:47.626 INFO ClientCnxn$SendThread - Opening socket connection to server ZK2/192.168.1.96:2181. Will not attempt to authenticate using SASL...
hosts 文件下我已经配置了 192.168.1.97 ZK1 192.168.1.96 ZK2 192.168.1.98 ZK3 还是一样的错误
但是我第一篇安装的时候并没有报错啊server.properties中的hostname参数为本机的IP地址 我都没有设置
不在一台机器上 zookeeper 集群在VMware vSphere 搭建的 。然后本地win8系统 的eclipse 跑的 java demo
因为后面还要在这三台虚拟机上搭建hadoop 和hbase 所以hosts 文件就配置了域名解析
eclipse重启之后还是报同样的错误