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

Jonathan Hsieh commented on HBASE-6230:
---------------------------------------

We need to agree on these definitions.

bq. How does this correspond to restoring a table from a snapshot when the 
table doesn't exist?

Do you mean "restoring" to a different table name in this case (which matteo's 
named "clone")  or a situation where a user deleted his table and you want to 
restore?

Restoring to the same name seems to be straight forwards to me.

There is a bunch of work that would need to be done if you are restoring a 
snapshot of a table to a different name that the original while maintaining all 
of the invariants in regions and the their encoded names.  Ex: the region dir 
corresponds to a hash of the tablename, startkey, and region ts.  Changing the 
table name means potentially regenerating and moving a bunch of metadata stuff.

Clonign and Exporting are follow on features that we'd like to have possible 
but doesn't need to be in the first cut that makes it into trunk.  From my 
point of view we do need to have snapshot and restore (and some system tests) 
before we could consider committing to trunk.  
                
> [brainstorm] "Restore" snapshots for HBase 0.96
> -----------------------------------------------
>
>                 Key: HBASE-6230
>                 URL: https://issues.apache.org/jira/browse/HBASE-6230
>             Project: HBase
>          Issue Type: Brainstorming
>            Reporter: Jesse Yates
>            Assignee: Matteo Bertozzi
>         Attachments: SnapshotRestore-v0.pdf
>
>
> Discussion ticket around the definitions/expectations of different parts of 
> snapshot restoration.  This is complementary, but separate from the _how_ of 
> taking a snapshot of a table.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to