chenabc 发表于 2014-5-22 11:54:29

ZooKeeperServer出现:Refusing session request for client /ip地址:52357

ZooKeeperServer出现:Refusing session request for client /ip地址:52357:
请问是什么问题?

2014-05-21 06:11:51,570 INFO server.NIOServerCnxnFactory: Accepted socket connection from /192.168.222.128:52357
2014-05-21 06:11:51,571 INFO server.ZooKeeperServer: Refusing session request for client /192.168.222.128:52357 as it has seen zxid 0x4a our last zxid is 0x3f client must try another server
2014-05-21 06:11:51,571 INFO server.NIOServerCnxn: Closed socket connection for client /192.168.222.128:52357 (no session established for client)
2014-05-21 06:11:52,916 INFO server.NIOServerCnxnFactory: Accepted socket connection from /192.168.222.128:52358
2014-05-21 06:11:52,917 INFO server.ZooKeeperServer: Refusing session request for client /192.168.222.128:52358 as it has seen zxid 0x4a our last zxid is 0x3f client must try another server
2014-05-21 06:11:52,917 INFO server.NIOServerCnxn: Closed socket connection for client /192.168.222.128:52358 (no session established for client)







pig2 发表于 2014-5-22 11:59:09

本帖最后由 pig2 于 2014-5-22 12:01 编辑

通信问题,看看端口是否被暂用
查看端口是否被暂用
sudo netstat -ap | grep 2181
上面命令会看到进程号,然后使用
kill -9 进程号,端口会释放了。


具体命令可以从这里面找
使用配置hadoop中常用的Linux命令


codersea 发表于 2015-7-27 22:33:02

pig2 发表于 2014-5-22 11:59
本帖最后由 pig2 于 2014-5-22 12:01 编辑
通信问题,看看端口是否被暂用
查看端口是否被暂用


端口没有被占用,有没有什么办法能够解决此问题
页: [1]
查看完整版本: ZooKeeperServer出现:Refusing session request for client /ip地址:52357