zoukankan      html  css  js  c++  java
  • 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. 
    
    
    
  • 相关阅读:
    子组 正则表达式
    正则表达式
    马云北大演讲完整版:真心话,什么才是阿里的核心竞争力?-2014-03-20
    形象化的spring 依赖注入原理
    程序员的六层境界
    apache配置运行zendframework 2
    php编写简单的页面跳转功能
    php随机验证码
    没啥说的
    PHP流程控制语句下
  • 原文地址:https://www.cnblogs.com/tangtianfly/p/6865925.html
Copyright © 2011-2022 走看看