分享

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

chenabc 发表于 2014-5-22 11:54:29 [显示全部楼层] 回帖奖励 阅读模式 关闭右栏 2 68859
ZooKeeperServer出现:Refusing session request for client /ip地址:52357:
请问是什么问题?

  1. 2014-05-21 06:11:51,570 INFO [NIOServerCxn.Factory:0.0.0.0/0.0.0.0:2181] server.NIOServerCnxnFactory: Accepted socket connection from /192.168.222.128:52357
  2. 2014-05-21 06:11:51,571 INFO [NIOServerCxn.Factory:0.0.0.0/0.0.0.0:2181] 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
  3. 2014-05-21 06:11:51,571 INFO [NIOServerCxn.Factory:0.0.0.0/0.0.0.0:2181] server.NIOServerCnxn: Closed socket connection for client /192.168.222.128:52357 (no session established for client)
  4. 2014-05-21 06:11:52,916 INFO [NIOServerCxn.Factory:0.0.0.0/0.0.0.0:2181] server.NIOServerCnxnFactory: Accepted socket connection from /192.168.222.128:52358
  5. 2014-05-21 06:11:52,917 INFO [NIOServerCxn.Factory:0.0.0.0/0.0.0.0:2181] 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
  6. 2014-05-21 06:11:52,917 INFO [NIOServerCxn.Factory:0.0.0.0/0.0.0.0:2181] server.NIOServerCnxn: Closed socket connection for client /192.168.222.128:52358 (no session established for client)
复制代码








已有(2)人评论

跳转到指定楼层
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 编辑
通信问题,看看端口是否被暂用
查看端口是否被暂用

端口没有被占用,有没有什么办法能够解决此问题
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

关闭

推荐上一条 /2 下一条