hbase region still in transition

1,删除hbase中的 hbase:meta表中相应的region的row

如;
get 'hbase:meta','kylin_metadata,,1481101316881.f3b4c7c1148aee68fbaaecd2dfdb9e70.'
delete 'hbase:meta','kylin_metadata,,1481101316881.f3b4c7c1148aee68fbaaecd2dfdb9e70.','info:regioninfo' 
delete 'hbase:meta','kylin_metadata,,1481101316881.f3b4c7c1148aee68fbaaecd2dfdb9e70.','info:seqnumDuringOpen' 
delete 'hbase:meta','kylin_metadata,,1481101316881.f3b4c7c1148aee68fbaaecd2dfdb9e70.','info:server' 
delete 'hbase:meta','kylin_metadata,,1481101316881.f3b4c7c1148aee68fbaaecd2dfdb9e70.','info:serverstartcode' 

1,删除zkcli /hbase
2,重启hbase
4 hbase hbck -repair table_name
5,重启hbase
6,hbase hbck -repair table_name


如何开启hbase balancer?
HBase will perform the balancing for you automatically as long as the HBase 
balancer hasn't been disabled. You can check for the state of the balancer 
using the hbase shell: 

$ hbase shell 
hbase(main):008:0> balancer_enabled 
true 

Assuming the balancer hasn't been turned off, that should be enough for you 
to let the HBase Master re-balance the regions in the cluster to include 
the new server, otherwise if the balancer is off (false) then you can 
re-enable it with the "balance_switch true" command from the hbase shell. 
See also the "balancer" command from the shell. 

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值