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

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

Micah Whitacre created HBASE-8742:
-------------------------------------

             Summary: 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
            Priority: Minor


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