Discussion:
[jira] [Created] (HBASE-21550) Should allow returning a modified TableDescriptor for MasterObserver.preCreateTable
Duo Zhang (JIRA)
2018-12-05 09:56:00 UTC
Permalink
Duo Zhang created HBASE-21550:
---------------------------------

Summary: Should allow returning a modified TableDescriptor for MasterObserver.preCreateTable
Key: HBASE-21550
URL: https://issues.apache.org/jira/browse/HBASE-21550
Project: HBase
Issue Type: Bug
Components: Coprocessors
Reporter: Duo Zhang
Fix For: 3.0.0, 2.2.0


Before 2.0, we will pass a HTableDescriptor and the CPs can modify the schema of a table, but now we will pass a TableDescriptor, which is immutable. I think it is correct to pass an immutable instance here, but we should have a return value for this method to allow CPs to return a new TableDescriptor.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Loading...