Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
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.