Table is neither enables nor disabled in HBase

后端 未结 4 1977
萌比男神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:19

    I just had this issue and it turned out that a region server was up but not able to be reached for some reason. Rather than try and debug this, I restarted the region server and this fixed everything.

    Sequence of events:

    1. Something happened to make the region server get into a bad state where it was reported up but unreachable
    2. Tried to disable a table while that region server was in the bad state (unbeknownst to me at the time). Got an RPC timeout error
    3. Tried to drop the table, got error "table is not enabled or disabled". HBase UI was reporting 'unknown' compaction status for that table
    4. Noticed a failed bulk load job that said it could not reach the specific region server
    5. Restarted region server
    6. HBase UI now reported table as 'none' for compaction, enables/disables/drops worked in shell

提交回复
热议问题