关于网友提出的“ zookeeper-345 的安装出现了奇怪问题”问题疑问,本网通过在网上对“ zookeeper-345 的安装出现了奇怪问题”有关的相关答案进行了整理,供用户进行参考,详细问题解答如下:
问题: zookeeper-345 的安装出现了奇怪问题
描述: 启动zookeeper后看到2181端口已经占用
然后运行:zkCli.sh -server server1:2181
运行后在welcome to zookeeper!后不断出错误信息:
2013-06-06 20:03:06,014 [myid:] - INFO [main-SendThread(localhost:2181):ClientCnxn$SendThread@966] - Opening socket connection to server localhost/0:0:0:0:0:0:0:1:2181. Will not attempt to authenticate using SASL (unknown error)
JLine support is enabled
2013-06-06 20:03:06,023 [myid:] - INFO [main-SendThread(localhost:2181):ClientCnxn$SendThread@849] - Socket connection established to localhost/0:0:0:0:0:0:0:1:2181, initiating session
2013-06-06 20:03:06,029 [myid:] - INFO [main-SendThread(localhost:2181):ClientCnxn$SendThread@1085] - Unable to read additional data from server sessionid 0x0, likely server has closed socket, closing socket connection and attempting reconnect
我用的是redhat,zookeeper是3.4.5版本的
解决方案1: ZOOKEEPER配置错误
把hbase-site.xml
zoo.cfg
/etc/hosts
贴出来看看
以上介绍了“ zookeeper-345 的安装出现了奇怪问题”的问题解答,希望对有需要的网友有所帮助。
本文网址链接:http://www.codes51.com/itwd/2033799.html