You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hbase.apache.org by "Mate Szalay-Beko (Jira)" <ji...@apache.org> on 2020/11/17 07:52:00 UTC

[jira] [Created] (HBASE-25297) regenerate a missing table descriptors by hbck2

Mate Szalay-Beko created HBASE-25297:
----------------------------------------

             Summary: regenerate a missing table descriptors by hbck2
                 Key: HBASE-25297
                 URL: https://issues.apache.org/jira/browse/HBASE-25297
             Project: HBase
          Issue Type: Improvement
          Components: hbase-operator-tools, hbck2
    Affects Versions: 2.3.2, 2.2.6
            Reporter: Mate Szalay-Beko
            Assignee: Mate Szalay-Beko


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.


{code:java}
java.io.IOException: Missing table descriptor for dd0676f57bdbff5d04ab735b7daf5e9b
{code}
 

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.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)