hbase-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Micah Whitacre (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HBASE-8742) HTableDescriptor Properties not preserved when cloning
Date Fri, 14 Jun 2013 05:33:21 GMT
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

Mime
View raw message