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

HBCK does not handle tables with no regions left

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.98.0, 0.96.0
    • Component/s: None
    • Labels:
      None
    • Hadoop Flags:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: