设为首页 加入收藏

TOP

hbase region still in transition
2019-03-19 13:29:48 】 浏览:73
Tags:hbase region still 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. 

】【打印繁体】【投稿】【收藏】 【推荐】【举报】【评论】 【关闭】 【返回顶部
上一篇HBase的数据迁移及importTsv功能 下一篇Hbase架构   Hbase Region的..

最新文章

热门文章

Hot 文章

Python

C 语言

C++基础

大数据基础

linux编程基础

C/C++面试题目