Description
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
Attachments
Attachments
Issue Links
- is related to
-
HBASE-8893 Verify that HTableDescriptor Properties are preserved when cloning
- Closed