Chia-Ping Tsai created HBASE-18528:
Summary: Support to modify TableDescriptor/ColumnFamilyDescriptor
through MasterObserver; Or disable that.
Issue Type: Sub-task
Reporter: Chia-Ping Tsai
Assignee: Chia-Ping Tsai
Fix For: 3.0.0, 2.0.0-alpha-2
We are replacing the HTableDescriptor by TableDescriptor from code base. The
TableDescriptor is designed to be a read-only object so user can't modifiy it
through MasterObserver. HBASE-18502 change many methods of MasterObserver to
use TableDescriptor but some deprecated methods still accept the
HTableDescriptor. User may be confused by why some methods can't modify the
In short, Should we allow user to modify the passed table descriptor?
# if yes, we should introduce a mechanism that user can return a modified table
# if no, we should pass ImmutableHTableDescriptor to user. Or we just remove
all methods accepting the HTableDescriptor
Ditto for HColumnDescriptor.
This message was sent by Atlassian JIRA