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

When cloning a snapshot including a split parent region, the split parent region of the cloned table will be online

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 3.0.0-alpha-1, 2.2.0
    • snapshots
    • None

    Description

      Investigating HBASE-21015, I found another issue. It seems like after HBASE-20881, the split parent region of the cloned table will be online when cloning a snapshot including a split parent region.

      Steps to reproduce are as follows, which is the same as the steps in HBASE-21015:

      1. Create a table

      create "test", "cf"
      

      2. Put some data into the table

      (0...2000).each{|i| put "test", "row#{i}", "cf:col", "val"}
      

      3. Split the table

      split "test"
      

      4. Take a snapshot of the table before CatalogJanitor cleans up the split parent region

      snapshot "test", "snap"
      

      5. Clone the snapshot

      clone_snapshot "snap", "cloned_table"
      

      After following the above steps, the split parent region of the cloned table will be online.

      Attachments

        1. HBASE-21084.branch-2.001.patch
          10 kB
          Toshihiro Suzuki
        2. HBASE-21084.branch-2.addendum.001.patch
          2 kB
          Toshihiro Suzuki
        3. HBASE-21084.master.001.patch
          8 kB
          Toshihiro Suzuki
        4. HBASE-21084.master.002.patch
          9 kB
          Toshihiro Suzuki
        5. HBASE-21084.master.003.patch
          10 kB
          Toshihiro Suzuki
        6. HBASE-21084.master.004.patch
          10 kB
          Toshihiro Suzuki
        7. HBASE-21084.master.addendum.001.patch
          2 kB
          Toshihiro Suzuki

        Activity

          People

            brfrn169 Toshihiro Suzuki
            brfrn169 Toshihiro Suzuki
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: