zookeeper报Too many connections错,解决方法:
1.检查客户端为什么需要这么多连接
2.在hbase-site.xml通过修改以下参数,可以增加最大连接数
hbase.zookeeper.property.maxClientCnxns
50
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.
通过增加hbase.zookeeper.property.maxClientCnxns的值,可以增加连接数
blog:myj.blog.chinaunix.net
阅读(6746) | 评论(0) | 转发(0) |