Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-25297

[HBCK2] Regenerate missing table descriptors by hbck2

VotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    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

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            symat Mate Szalay-Beko
            symat Mate Szalay-Beko
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment