hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Matteo Bertozzi (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-9303) Snapshot restore of table which splits after snapshot was taken encounters 'Region is not online'
Date Thu, 22 Aug 2013 20:59:51 GMT

    [ https://issues.apache.org/jira/browse/HBASE-9303?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13747886#comment-13747886
] 

Matteo Bertozzi commented on HBASE-9303:
----------------------------------------

added a safe patch, to avoid all the problems.. reset all the region state to OFFLINE and
clears completely .META. for the restored table.

Even if 94 doesn't seems to be affected, probably because the AssignmentManager is less strict,
I'm going to apply the patch to 94 too. the patch should be the same.
                
> Snapshot restore of table which splits after snapshot was taken encounters 'Region is
not online'
> -------------------------------------------------------------------------------------------------
>
>                 Key: HBASE-9303
>                 URL: https://issues.apache.org/jira/browse/HBASE-9303
>             Project: HBase
>          Issue Type: Bug
>    Affects Versions: 0.95.2
>            Reporter: Ted Yu
>            Assignee: Matteo Bertozzi
>         Attachments: 9303.shell-output, HBASE-9303-trunk-v0.patch, hbase-hbase-master-hor15n02.log,
hbase-hbase-regionserver-hor15n02.log
>
>
> Take snapshot of a table ('tablethree' in the log).
> Put some data in the table and split the table.
> Restore snapshot.
> Table cannot be enabled due to:
> {code}
> Thu Aug 22 19:37:20 UTC 2013, org.apache.hadoop.hbase.client.RpcRetryingCaller@47a6ac39,
org.apache.hadoop.hbase.NotServingRegionException: org.apache.hadoop.hbase.NotServingRegionException:
Region is not online: c32e63d8c8a1a94b68966645b956d86d
> 	at org.apache.hadoop.hbase.regionserver.HRegionServer.getRegionByEncodedName(HRegionServer.java:2557)
> 	at org.apache.hadoop.hbase.regionserver.HRegionServer.getRegion(HRegionServer.java:3921)
> 	at org.apache.hadoop.hbase.regionserver.HRegionServer.scan(HRegionServer.java:2996)
> 	at org.apache.hadoop.hbase.protobuf.generated.ClientProtos$ClientService$2.callBlockingMethod(ClientProtos.java:26847)
> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message