- Subscribe to RSS Feed
- Mark Question as New
- Mark Question as Read
- Float this Question for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
Tables not online
- Labels:
-
Apache HBase
Created ‎12-23-2024 12:28 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
We're still facing issues with RIT, and now there's an additional frustrating problem: several tables are not coming online.
In the HBase meta table, the state is set to "\x08\x02", which indicates the table is "DISABLING" The region state is CLOSED, but modifying these states hasn't resolved the issue.
I've tried addressing this by using put statements and the hbck2 tool, but the problem persists. The current HBase version is 2.0.2.
Created on ‎12-31-2024 09:47 AM - edited ‎12-31-2024 09:49 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
This is a very common problem where the table gets stuck in a DISABLING state.
First, please try these series of diagnostic and repair steps:
- First, verify the current state:
- Try to force the table state change using HBCK2:
# Download HBCK2 if not already present wget https://repository.apache.org/content/repositories/releases/org/apache/hbase/hbase-hbck2/2.0.2/hbase...
- If that doesn't work, try cleaning the znode:
# Delete the table znode if present rmr /hbase/table/<table_name>
- If the issue persists, try manually updating the meta table:
- If still stuck, try these repair commands:
- As a last resort, try a full cleanup:
If none of these steps work, we can try a more aggressive approach:
- Back up your data:
Try a clean META rebuild:
Additional troubleshooting tips:
- Check HBase logs for specific errors:
Verify cluster health:
- Monitor region transitions:
If you encounter any specific errors during these steps, please share them and I can provide more targeted solutions.
