Table is neither enables nor disabled in HBase

后端 未结 4 1978
萌比男神i
萌比男神i 2021-02-20 16:43

I am facing a weird problem. I was accessing my HBase tables through an API. Midway during execution I got a RegionNotServing for my table \'x\'. But My HRegionServers were work

4条回答
  •  孤街浪徒
    2021-02-20 17:08


    I had faced similar issue on Production. The problem was specific Hbase Table Meta corrupted. So I deleted the table manually from zookeeper using below

    1. Enter into hbase zookeper client mode using hbase zkcli command

    2. Delete the table using the command delete /hbase/table/x

    3. Delete the table using the command delete /hbase/table-lock/x


    After following above command, restarted Hbase but issue still appeared so I deleted region of Hbase Table from Hbase system Table using below

    1. Enter into hbase using hbase shell command

    2. Delete the Table Regions which is stuck in transition state using below command

    deleteall 'hbase:meta','XXX,Table_region.'

提交回复
热议问题