You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Jonathan Hsieh (JIRA)" <ji...@apache.org> on 2013/01/04 01:42:12 UTC

[jira] [Commented] (HBASE-7484) Fix Restore with schema changes

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

Jonathan Hsieh commented on HBASE-7484:
---------------------------------------


This does two things right -- 

1) adds a case for an empty snapshot
2) adds test and handles some problem with alter with column families.  Is the CF problem that when we add a cf or remove a cf we don't actually add/remove the files related to the cf?

nit: sp
{code}
+    // Restor from emptySnapshot
+    admin.disableTable(tableName);
{code}
                
> Fix Restore with schema changes
> -------------------------------
>
>                 Key: HBASE-7484
>                 URL: https://issues.apache.org/jira/browse/HBASE-7484
>             Project: HBase
>          Issue Type: Sub-task
>          Components: Client, master, regionserver, snapshots, Zookeeper
>            Reporter: Matteo Bertozzi
>            Assignee: Matteo Bertozzi
>            Priority: Blocker
>             Fix For: hbase-6055, 0.96.0
>
>         Attachments: HBASE-7484-v0.patch
>
>
> The restore code in the offline branch doesn't handle the schema change.
> I think that I've lost it during the various rebase, the Handler restore the schema, but the restoreRegion() method in the helper handle just the "same schema" case.

--
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