hbase 线程池问题处理

文章描述了在使用HBase时遇到的数据查询问题,包括HBase客户端连接失败,shell扫描报错,以及Phoenix查询错误。解决方案是修改hbase-site.xml配置,增加hbase.regionserver.executor.openregion.threads的值,并重启HBase集群。执行hbasehbck命令后,所有表恢复正常。
摘要由CSDN通过智能技术生成

hbase数据查不到,小松鼠客户端连接不上,hbase shell扫描报错部分日志:

ERROR: org.apache.hadoop.hbase.exceptions.RegionOpeningException: Region ADVICE,,1484647165178.b827fafe905eda29996dfb56bd9fd61f. is opening on hadoop79,60020,1497005577348

Region EHRMAIN,,1489599097179.61688929e93c5143efbe19b68f995c76. is not online on hadoop79,60020,1497002696781

phoenix报错:is opening on hadoop78,60020

命令hbase hbck:出现大量异常信息

解决办法:关掉hbase集群,在每个RegionServer上的hbase-site.xml配置文件里面增加如下

<property>

<name>hbase.regionserver.executor.openregion.threads</name>

<value>100</value>

</property>

重启hbase集群,命令hbase hbck:Summary:

Table CONSULTATIONRECORD is okay.

    Number of regions: 6

    Deployed on:  hadoop76,60020,1497006965624 hadoop77,60020,1497006965687 hadoop78,60020,1497006965700 hadoop79,60020,1497006965677

Table PT_LABREPORT is okay.所有表都ok。

注:hbase hbck -fix可以修复hbase数据不一致

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值