[
https://issues.apache.org/jira/browse/HBASE-19850?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16442159#comment-16442159
]
Hudson commented on HBASE-19850:
--------------------------------
Results for branch branch-1
[build #287 on
builds.a.o|https://builds.apache.org/job/HBase%20Nightly/job/branch-1/287/]:
(x) *{color:red}-1 overall{color}*
----
details (if available):
(x) {color:red}-1 general checks{color}
-- For more information [see general
report|https://builds.apache.org/job/HBase%20Nightly/job/branch-1/287//General_Nightly_Build_Report/]
(x) {color:red}-1 jdk7 checks{color}
-- For more information [see jdk7
report|https://builds.apache.org/job/HBase%20Nightly/job/branch-1/287//JDK7_Nightly_Build_Report/]
(x) {color:red}-1 jdk8 hadoop2 checks{color}
-- For more information [see jdk8 (hadoop2)
report|https://builds.apache.org/job/HBase%20Nightly/job/branch-1/287//JDK8_Nightly_Build_Report_(Hadoop2)/]
(x) {color:red}-1 source release artifact{color}
-- See build output for details.
> The number of Offline Regions is wrong after restoring a snapshot
> -----------------------------------------------------------------
>
> Key: HBASE-19850
> URL: https://issues.apache.org/jira/browse/HBASE-19850
> Project: HBase
> Issue Type: Bug
> Components: snapshots
> Reporter: Toshihiro Suzuki
> Assignee: Toshihiro Suzuki
> Priority: Major
> Fix For: 1.5.0
>
> Attachments: HBASE-19850-branch-1.patch,
> HBASE-19850.branch-1.001.patch, HBASE-19850.branch-1.001.patch, The number of
> Offline Regions.png
>
>
> Steps to reproduce are as follows:
> 1. Create a table
> {code:java}
> create "test", "cf"
> {code}
> 2. Take a snapshot for the table
> {code:java}
> snapshot "test", "snap"
> {code}
> 3. Load data to the table
> {code:java}
> (0...2000).each{|i| put "test", "row#{i}", "cf:col", "val"}
> {code}
> 4. Split regions of the table
> {code:java}
> split "test"
> {code}
> 5. Restore the table from the snapshot
> {code:java}
> disable "test"
> restore_snapshot "snap"
> enable "test"
> {code}
>
> The number of Offline Regions is as follows:
> !The number of Offline Regions.png!
> The number of Offline Regions should be zero.
> It seems like when regions are removed by restoring a snapshot, the number of
> Offline Regions becomes wrong. And as far as I reviewed the code, it seems
> like the Offline Regions will not be cleaned up. After restarting Master, the
> offline regions disappear.
>
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)