Hbase区域服务器中的异常 [英] Exceptions in Hbase Region Server

查看:136
本文介绍了Hbase区域服务器中的异常的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我不断看到这些日志在hbase区域服务器日志中打印出来. 10.0.5.133是存在hbase Java客户端的计算机.

I continuously see these logs getting printed in hbase region server logs. 10.0.5.133 is the machine where hbase java client is present.

它一直保持断开和连接状态.为什么会这样呢? 客户端库/服务器版本中是否存在不匹配?还有其他原因吗?我试图用谷歌搜索它,但是找不到任何有用的链接.

It keeps on disconnecting and connecting. Any reason why this is happening ? Any mismatch in client library /server version ? Any other reason ? I tried to google this but could not found any helpful link.

2015-12-25 20:24:03,210 DEBUG [RpcServer.reader=9,port=60020] ipc.RpcServer: RpcServer.listener,port=60020: DISCONNECTING client 10.0.5.133:54538 because read count=-1. Number of active connections: 30
2015-12-25 20:24:03,213 DEBUG [RpcServer.reader=2,port=60020] ipc.RpcServer: RpcServer.listener,port=60020: DISCONNECTING client 10.0.5.133:54564 because read count=-1. Number of active connections: 29
2015-12-25 20:24:08,350 DEBUG [RpcServer.listener,port=60020] ipc.RpcServer: RpcServer.listener,port=60020: connection from 10.0.5.133:54642; # active connections: 26
2015-12-25 20:24:18,358 DEBUG [RpcServer.reader=8,port=60020] ipc.RpcServer: RpcServer.listener,port=60020: DISCONNECTING client 10.0.5.133:54642 because read count=-1. Number of active connections: 29
2015-12-25 20:24:30,543 DEBUG [RpcServer.listener,port=60020] ipc.RpcServer: RpcServer.listener,port=60020: connection from 10.0.5.133:54799; # active connections: 28
2015-12-25 20:24:40,547 DEBUG [RpcServer.reader=0,port=60020] ipc.RpcServer: RpcServer.listener,port=60020: DISCONNECTING client 10.0.5.133:54799 because read count=-1. Number of active connections: 29
2015-12-25 20:24:41,870 DEBUG [RpcServer.listener,port=60020] ipc.RpcServer: RpcServer.listener,port=60020: connection from 10.0.5.133:54864; # active connections: 29
2015-12-25 20:24:51,877 DEBUG [RpcServer.reader=8,port=60020] ipc.RpcServer: RpcServer.listener,port=60020: DISCONNECTING client 10.0.5.133:54864 because read count=-1. Number of active connections: 28
2015-12-25 20:25:00,634 DEBUG [RpcServer.listener,port=60020] ipc.RpcServer: RpcServer.listener,port=60020: connection from 10.0.5.133:54982; # active connections: 27
2015-12-25 20:25:10,645 DEBUG [RpcServer.reader=6,port=60020] ipc.RpcServer: RpcServer.listener,port=60020: DISCONNECTING client 10.0.5.133:54982 because read count=-1. Number of active connections: 30
2015-12-25 20:26:30,169 DEBUG [RpcServer.listener,port=60020] ipc.RpcServer: RpcServer.listener,port=60020: connection from 10.0.5.133:55511; # active connections: 26
2015-12-25 20:26:40,176 DEBUG [RpcServer.reader=3,port=60020] ipc.RpcServer: RpcServer.listener,port=60020: DISCONNECTING client 10.0.5.133:55511 because read count=-1. Number of active connections: 32
2015-12-25 20:26:41,117 DEBUG [RpcServer.listener,port=60020] ipc.RpcServer: RpcServer.listener,port=60020: connection from 10.0.5.133:55594; # active connections: 30
2015-12-25 20:26:44,607 DEBUG [RpcServer.listener,port=60020] ipc.RpcServer: RpcServer.listener,port=60020: connection from 10.0.5.133:55623; # active connections: 31
2015-12-25 20:26:51,129 DEBUG [RpcServer.reader=7,port=60020] ipc.RpcServer: RpcServer.listener,port=60020: DISCONNECTING client 10.0.5.133:55594 because read count=-1. Number of active connections: 26
2015-12-25 20:26:54,614 DEBUG [RpcServer.reader=2,port=60020] ipc.RpcServer: RpcServer.listener,port=60020: DISCONNECTING client 10.0.5.133:55623 because read count=-1. Number of active connections: 23
2015-12-25 20:27:01,926 DEBUG [RpcServer.listener,port=60020] ipc.RpcServer: RpcServer.listener,port=60020: connection from 10.0.5.133:55731; # active connections: 31
2015-12-25 20:27:11,938 DEBUG [RpcServer.reader=5,port=60020] ipc.RpcServer: RpcServer.listener,port=60020: DISCONNECTING client 10.0.5.133:55731 because read count=-1. Number of active connections: 29
2015-12-25 20:27:14,711 DEBUG [RpcServer.listener,port=60020] ipc.RpcServer: RpcServer.listener,port=60020: connection from 10.0.5.133:55776; # active connections: 28
2015-12-25 20:27:24,719 DEBUG [RpcServer.reader=3,port=60020] ipc.RpcServer: RpcServer.listener,port=60020: DISCONNECTING client 10.0.5.133:55776 because read count=-1. Number of active connections: 28
2015-12-25 20:27:36,791 DEBUG [RpcServer.listener,port=60020] ipc.RpcServer: RpcServer.listener,port=60020: connection from 10.0.5.133:55938; # active connections: 24
2015-12-25 20:27:45,008 DEBUG [RpcServer.listener,port=60020] ipc.RpcServer: RpcServer.listener,port=60020: connection from 10.0.5.133:56013; # active connections: 27
2015-12-25 20:27:46,799 DEBUG [RpcServer.reader=4,port=60020] ipc.RpcServer: RpcServer.listener,port=60020: DISCONNECTING client 10.0.5.133:55938 because read count=-1. Number of active connections: 29

推荐答案

看起来客户端连接负载远远超过默认的最大客户端连接限制30.您可能要考虑提高该配置.

Looks like the client connection load is way more than default max client connection limit of 30. You might want to consider bumping up that configuration.

更多信息,请参见: http://archive. cloudera.com/cdh/3/hbase-0.90.1-cdh3u0/configuration.html

hbase.zookeeper.property.maxClientCnxns

ZooKeeper的财产 配置zoo.cfg.并发连接数限制(在 套接字级别),由IP地址标识的单个客户端可以 ZooKeeper合奏的单个成员.设置高以避免zk 独立运行和伪分布式运行的连接问题.

Property from ZooKeeper's config zoo.cfg. Limit on number of concurrent connections (at the socket level) that a single client, identified by IP address, may make to a single member of the ZooKeeper ensemble. Set high to avoid zk connection issues running standalone and pseudo-distributed.

默认值:30

这篇关于Hbase区域服务器中的异常的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆