CDH-HBASE启动报错

1 篇文章 0 订阅

问题:

2020-08-10 20:10:09,475 INFO org.apache.hadoop.hbase.coordination.ZkOpenRegionCoordination: Opening of region {ENCODED => 62aad16825cc68dbb15c7eb5ed3d01ad, NAME => 'invbiaos170411,04444444,1491878211908.62aad16825cc68dbb15c7eb5ed3d01ad.', STARTKEY => '04444444', ENDKEY => '06666666'} failed, transitioning from OPENING to FAILED_OPEN in ZK, expecting version 32086
2020-08-10 20:10:09,482 INFO org.apache.hadoop.hbase.regionserver.RSRpcServices: Open invbiaos171016,2eeeeeec,1508150434758.1c12b28a97b3a479dfbe1e377deccd6a.
2020-08-10 20:10:09,486 ERROR org.apache.hadoop.hbase.regionserver.handler.OpenRegionHandler: Failed open of region=invbiaos171016,2eeeeeec,1508150434758.1c12b28a97b3a479dfbe1e377deccd6a., starting to roll back the global memstore size.
java.lang.IllegalStateException: Could not instantiate a region instance.
	at org.apache.hadoop.hbase.regionserver.HRegion.newHRegion(HRegion.java:6138)
	at org.apache.hadoop.hbase.regionserver.HRegion.openHRegion(HRegion.java:6439)
	at org.apache.hadoop.hbase.regionserver.HRegion.openHRegion(HRegion.java:6411)
	at org.apache.hadoop.hbase.regionserver.HRegion.openHRegion(HRegion.java:6367)
	at org.apache.hadoop.hbase.regionserver.HRegion.openHRegion(HRegion.java:6318)
	at org.apache.hadoop.hbase.regionserver.handler.OpenRegionHandler.openRegion(OpenRegionHandler.java:362)
	at org.apache.hadoop.hbase.regionserver.handler.OpenRegionHandler.process(OpenRegionHandler.java:129)
	at org.apache.hadoop.hbase.executor.EventHandler.run(EventHandler.java:129)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
	at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.reflect.InvocationTargetException
	at sun.reflect.GeneratedConstructorAccessor9.newInstance(Unknown Source)
	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
	at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
	at org.apache.hadoop.hbase.regionserver.HRegion.newHRegion(HRegion.java:6135)
	... 10 more
Caused by: java.lang.IllegalArgumentException: Need table descriptor
	at org.apache.hadoop.hbase.regionserver.HRegion.<init>(HRegion.java:651)
	at org.apache.hadoop.hbase.regionserver.HRegion.<init>(HRegion.java:628)
	... 14 more

原因:之前的有表损坏,在hbase里删除没有的表
解决方法:
在zk中ls /hbase/table
与hbase中list现有的表名进行对比发现两边不一致:
下列表不存在

disable 'invbiaos170926'
disable 'invbiaos170418'
disable 'invbiaos170411'
disable 'invbiaos170424'
disable 'invbiaos170427'
disable 'invbiaos170824'
disable 'invbiaos170620'
disable 'invbiaos170313'
disable 'invbiaos171204' 
disable 'invbiaos170926_dt'
disable 'invbiaos171012'
disable 'invbiaos170322'
disable 'invbiaos171016'
disable 'invbiaos170321'

drop 'invbiaos170926'
drop 'invbiaos170418'
drop 'invbiaos170411'
drop 'invbiaos170424'
drop 'invbiaos170427'
drop 'invbiaos170824'
drop 'invbiaos170620'
drop 'invbiaos170313'
drop 'invbiaos171204' 
drop 'invbiaos170926_dt'
drop 'invbiaos171012'
drop 'invbiaos170322'
drop 'invbiaos171016'
drop 'invbiaos170321'

删除后重启HBASE恢复正常

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值