Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
hbase-operator-tools-1.0.0
-
None
Description
We just have been in a situation, when we saw many ServerCrashProcedure to be blocked, because of the AssignProcedure is blocked because of the missing .tabledesc files.
java.io.IOException: Missing table descriptor for dd0676f57bdbff5d04ab735b7daf5e9b
In our case it was OK for us to get rid of these tables and we were able to use setRegionState to move all these regions to FAILED_OPEN state, then disable and drop the tables. But this took a lot of time and we might not always have the option to drop these tables.
HBCK 1 had a functionality (fixTableOrphans) to regenerate the table descriptors "according to the memory cache or hdfs table directory structure". We should investigate if we can implement something like this with hbck2. We might not always be able to reproduce the table configurations, but we can probably make a "basic" one.
Attachments
Issue Links
- is related to
-
HBASE-25430 Refresh in-memory table-info cache in HBase
- Open
- relates to
-
HBASE-25610 Support multiple tables as input in generateMissingTableDescriptorFile command in HBCK2
- Resolved
- links to