Hbase常见异常 分类: B7_HBASE 2015-02-02 16:16 412人阅读 评论(0) 收藏
2015-02-02 16:16
399 查看
1、 HBase is able to connect to ZooKeeper but the connection closes immediately
hbase(main):001:0> list
TABLE
ERROR: org.apache.hadoop.hbase.ZooKeeperConnectionException: 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.
Here is some help for this command:
List all tables in hbase. Optional regular expression parameter could
be used to filter the output. Examples:
hbase> list
hbase> list 'abc.*'
hbase(main):002:0> exit
解决方法:
修改/etc/hosts:
#127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4
#::1 localhost localhost.localdomain localhost6 localhost6.localdomain6
将原有的前2行去掉。
hbase(main):001:0> list
TABLE
ERROR: org.apache.hadoop.hbase.ZooKeeperConnectionException: 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.
Here is some help for this command:
List all tables in hbase. Optional regular expression parameter could
be used to filter the output. Examples:
hbase> list
hbase> list 'abc.*'
hbase(main):002:0> exit
解决方法:
修改/etc/hosts:
#127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4
#::1 localhost localhost.localdomain localhost6 localhost6.localdomain6
将原有的前2行去掉。
相关文章推荐
- Hadoop常见异常及其解决方案 分类: A1_HADOOP 2014-07-09 15:02 4187人阅读 评论(0) 收藏
- 分布式服务框架 Zookeeper -- 管理分布式环境中的数据 分类: B7_HBASE 2015-03-10 10:14 96人阅读 评论(0) 收藏
- 搭建hbase-0.94.26集群环境 分类: B7_HBASE 2015-01-24 17:14 861人阅读 评论(0) 收藏
- NoSql中的B-tree、B+tree和LSM-tree 分类: B7_HBASE 2015-03-15 18:27 85人阅读 评论(0) 收藏
- HBase -ROOT-和.META.表结构(region定位原理) 分类: B7_HBASE 2015-03-13 20:52 90人阅读 评论(0) 收藏
- 【solr专题之三】Solr常见异常 分类: H4_SOLR/LUCENCE 2014-07-19 10:30 3223人阅读 评论(0) 收藏
- Hbase写数据,存数据,读数据的详细过程 分类: B7_HBASE 2015-03-15 20:11 117人阅读 评论(0) 收藏
- 《LINUX3.0内核源代码分析》第二章:中断和异常 分类: linux_内核_中断 2013-07-10 14:44 502人阅读 评论(0) 收藏
- Android运行时异常“Binary XML file line # : Error inflating class” 分类: Android界面和组件 2014-09-12 00:19 94人阅读 评论(0) 收藏
- android常见错误之 No r… 分类: Android开发 2014-05-30 10:54 59人阅读 评论(0) 收藏
- 多浏览器Pre标签兼容样式 分类: 前端 2015-01-14 16:16 136人阅读 评论(0) 收藏
- 【Nutch2.2.1基础教程之2.2】集成Nutch/Hbase/Solr构建搜索引擎之二:内容分析 分类: H3_NUTCH H4_SOLR/LUCENCE 2014-07-13 14:18 3093人阅读 评论(0) 收藏
- Linux内核中常见内存分配函数(二) 分类: arm-linux-Ubuntu 2013-08-08 17:58 723人阅读 评论(0) 收藏
- 【原创】《Linux高级程序设计》杨宗德著 - 进程管理与程序开发 - Linux常见信号及处理 分类: Linux --- 应用程序设计 2014-11-08 11:54 68人阅读 评论(0) 收藏
- 多浏览器Pre标签兼容样式 分类: 前端 2015-01-14 16:16 137人阅读 评论(0) 收藏
- 【Nutch2.2.1基础教程之1】nutch相关异常 分类: H3_NUTCH 2014-08-08 21:46 1549人阅读 评论(2) 收藏
- Linux内核中常见内存分配函数(三) 分类: arm-linux-Ubuntu 2013-08-08 17:59 2550人阅读 评论(0) 收藏
- 用户输入内容长度限制的异常 分类: python异常 2013-06-24 10:48 335人阅读 评论(0) 收藏
- PHP从零单排(十六)PHP操作MySQL常见错误信息及分析 分类: 技巧总结 2014-05-03 11:34 139人阅读 评论(0) 收藏
- 定义不同错误的异常类 分类: python异常 2014-01-09 14:21 251人阅读 评论(0) 收藏