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

HBCK does not handle tables with no regions left

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.98.0, 0.96.0
    • None
    • None
    • Reviewed

    Description

      hbck does not handle the case where all the regions of a table is gone. To reproduce this:
      1. create table with one region
      2. delete the region directory
      3. run hbck --repair, which removes the region from meta as well
      4. now, the meta won't contain the region, but the table dir in hdfs will be there.

      Attachments

        1. hbase-9698_v1.patch
          18 kB
          Enis Soztutar
        2. hbase-9698_v2.patch
          21 kB
          Enis Soztutar

        Activity

          People

            enis Enis Soztutar
            enis Enis Soztutar
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: