2019独角兽企业重金招聘Python工程师标准>>>
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配置文件里面增加如下
重启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数据不一致