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