You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Ted Yu (JIRA)" <ji...@apache.org> on 2013/06/14 18:34:21 UTC

[jira] [Commented] (HBASE-8742) HTableDescriptor Properties not preserved when cloning

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

Ted Yu commented on HBASE-8742:
-------------------------------

Looks good to me.
                
> HTableDescriptor Properties not preserved when cloning
> ------------------------------------------------------
>
>                 Key: HBASE-8742
>                 URL: https://issues.apache.org/jira/browse/HBASE-8742
>             Project: HBase
>          Issue Type: Bug
>          Components: snapshots
>    Affects Versions: 0.94.6.1
>            Reporter: Micah Whitacre
>            Assignee: Matteo Bertozzi
>            Priority: Minor
>         Attachments: HBASE-8742-v0.patch
>
>
> When cloning a snapshot to a new table the values[1] set on the original HTableDescriptor are not preserved.
> This is because the values are not pulled off and set in the RestoreSnapshotHelper.cloneTableSchema(..)[2] method.
> This affects a number of things such as custom properties but also for configured coprocessors for the table.
> [1] - http://hbase.apache.org/apidocs/org/apache/hadoop/hbase/HTableDescriptor.html#setValue(byte[], byte[])
> [2] - https://github.com/apache/hbase/blob/0.94.6.1/src/main/java/org/apache/hadoop/hbase/snapshot/RestoreSnapshotHelper.java#L582

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