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

The state of the split parent region is wrong after cloning a snapshot

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Duplicate
    • None
    • None
    • None
    • None

    Description

      Steps to reproduce are as follows:

      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 cloning the snapshot, the state of the split parent region is OFFLINE, but it should be SPLIT.

      Attachments

        1. Screen Shot 2018-08-07 at 00.40.40.png
          51 kB
          Toshihiro Suzuki
        2. HBASE-21015.master.001.patch
          8 kB
          Toshihiro Suzuki

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: