HBase 能够连接到 ZooKeeper 但连接立即关闭
我正在运行一个 hadoop 项目四到五天,然后 hbase 出现错误:HBase 能够连接到 ZooKeeper 但连接立即关闭。这可能表明服务器有太多连接(默认为 30 个)。考虑检查 ZK 服务器日志中是否存在该错误,然后确保尽可能频繁地重用 HBaseConfiguration。有关详细信息,请参阅 HTable 的 javadoc。 请给我一些建议。多谢。
i'm running a hadoop project for four to five days,then an error from hbase : HBase is able to connect to ZooKeeper but the connection closes immediately. This could be a sign that the server has too many connections (30 is the default). Consider inspecting your ZK server logs for that error and then make sure you are reusing HBaseConfiguration as often as you can. See HTable's javadoc for more information.
Please give me some suggestion. Thanks a lot.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
检查你的动物园管理员配置。 ZooKeeper 有一个设置来限制来自单个 IP 地址的连接数量,您可能需要修改它(如果这确实是问题所在)。该设置称为 maxClientCnxns
Check your zookeeper config. ZooKeeper has a setting to limit the number of connections from a single ip address and you may need to modify that (if that is indeed the problem). the setting is called maxClientCnxns