You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Matteo Bertozzi (JIRA)" <ji...@apache.org> on 2013/02/21 21:50:12 UTC
[jira] [Commented] (HBASE-7896) make rename_table working in 92/94
[ https://issues.apache.org/jira/browse/HBASE-7896?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13583540#comment-13583540 ]
Matteo Bertozzi commented on HBASE-7896:
----------------------------------------
on trunk/96 renaming a table means breaking snapshots (data loss)
since the snapshots relies on the data being in the "table name"
but a rename can be simulated as
{code}
disable 'tableName'
snapshot 'tableName', 'tableSnapshot'
clone 'tableSnapshot', 'newTableName'
delete_snapshot 'tableSnapshot'
{code}
[~tychang] Can you explain the use case?
> make rename_table working in 92/94
> ----------------------------------
>
> Key: HBASE-7896
> URL: https://issues.apache.org/jira/browse/HBASE-7896
> Project: HBase
> Issue Type: Bug
> Components: scripts
> Affects Versions: 0.92.2, 0.94.5
> Reporter: Tianying Chang
> Assignee: Tianying Chang
> Fix For: 0.92.2, 0.94.6
>
>
> The rename_table function is very useful for our customers. However, rename_table.rb does not work for 92/94. It has several bugs. It will be useful to fix them so that users can solve their problems.
--
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