You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Toshihiro Suzuki (JIRA)" <ji...@apache.org> on 2018/08/21 07:03:00 UTC
[jira] [Updated] (HBASE-21015) The state of the split parent region
is wrong after cloning a snapshot
[ https://issues.apache.org/jira/browse/HBASE-21015?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Toshihiro Suzuki updated HBASE-21015:
-------------------------------------
Attachment: HBASE-21015.master.001.patch
> The state of the split parent region is wrong after cloning a snapshot
> ----------------------------------------------------------------------
>
> Key: HBASE-21015
> URL: https://issues.apache.org/jira/browse/HBASE-21015
> Project: HBase
> Issue Type: Bug
> Reporter: Toshihiro Suzuki
> Assignee: Toshihiro Suzuki
> Priority: Major
> Attachments: HBASE-21015.master.001.patch, Screen Shot 2018-08-07 at 00.40.40.png
>
>
> Steps to reproduce are as follows:
> 1. Create a table
> {code}
> create "test", "cf"
> {code}
> 2. Put some date into the table
> {code}
> (0...2000).each{|i| put "test", "row#{i}", "cf:col", "val"}
> {code}
> 3. Split the table
> {code}
> split "test"
> {code}
> 4. Take a snapshot of the table before CatalogJanitor cleans up the split parent region
> {code}
> snapshot "test", "snap"
> {code}
> 5. Clone the snapshot
> {code}
> clone_snapshot "snap", "cloned_table"
> {code}
> After cloning the snapshot, the state of the split parent region is OFFLINE, but it should be SPLIT.
> !Screen Shot 2018-08-07 at 00.40.40.png!
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)