hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jonathan Hsieh (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (HBASE-7484) Fix Restore with schema changes
Date Fri, 04 Jan 2013 00:42:12 GMT

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

Jonathan Hsieh edited comment on HBASE-7484 at 1/4/13 12:41 AM:
----------------------------------------------------------------

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}
                
      was (Author: jmhsieh):
    
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

Mime
View raw message