[ 
https://issues.apache.org/jira/browse/HBASE-18502?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Chia-Ping Tsai updated HBASE-18502:
-----------------------------------
    Release Note: 
The methods which change to use TableDescriptor/ColumnFamilyDescriptor are 
shown below.
+ preCreateTable( ObserverContext,TableDescriptor, HRegionInfo[])
+ postCreateTable(ObserverContext ,TableDescriptor, HRegionInfo[])
+ preCreateTableAction(ObserverContext, TableDescriptor,HRegionInfo[])
+ postCompletedCreateTableAction(ObserverContext,TableDescriptor,HRegionInfo[])
+ preModifyTable(ObserverContext,TableName, TableDescriptor)
+ postModifyTable(ObserverContext,TableName, TableDescriptor)
+ preModifyTableAction( ObserverContext,TableName,TableDescriptor)
+ postCompletedModifyTableAction( ObserverContext,TableName,TableDescriptor)
+ preAddColumnFamily(ObserverContext,TableName, ColumnFamilyDescriptor)
+ postAddColumnFamily(ObserverContext,TableName, ColumnFamilyDescriptor)
+ preAddColumnFamilyAction(ObserverContext,TableName,ColumnFamilyDescriptor)
+ postCompletedAddColumnFamilyAction(ObserverContext,TableName, 
ColumnFamilyDescriptor)
+ preModifyColumnFamily(ObserverContext,TableName, ColumnFamilyDescriptor)
+ 
preModifyColumnFamilyAction(ObserverContext<MasterCoprocessorEnvironment,TableName,ColumnFamilyDescriptor)
+ 
postCompletedModifyColumnFamilyAction(ObserverContext<MasterCoprocessorEnvironment>,TableName,ColumnFamilyDescriptor)
+ 
preCloneSnapshot(ObserverContext<MasterCoprocessorEnvironment>,SnapshotDescription,TableDescriptor)
+ 
postCloneSnapshot(ObserverContext<MasterCoprocessorEnvironment>,SnapshotDescription,TableDescripto)
+ 
preRestoreSnapshot(ObserverContext<MasterCoprocessorEnvironment,SnapshotDescription,TableDescriptor)
+ 
postRestoreSnapshot(ObserverContext<MasterCoprocessorEnvironment,SnapshotDescription,TableDescriptor)
+ 
preGetTableDescriptors(ObserverContext<MasterCoprocessorEnvironment>,List<TableName>,
 List<TableDescriptor>,String) 
+ 
postGetTableDescriptors(ObserverContext<MasterCoprocessorEnvironment>,List<TableName>,
 List<TableDescriptor>,String)
+ 
preGetTableNames(ObserverContext<MasterCoprocessorEnvironment>,List<TableDescriptor>,
 String)
+ 
postGetTableNames(ObserverContext<MasterCoprocessorEnvironment>,List<TableDescriptor>,
 String)


  was:
MasterObserver class
+ preCreateTable( ObserverContext,TableDescriptor, HRegionInfo[])
+ postCreateTable(ObserverContext ,TableDescriptor, HRegionInfo[])
+ preCreateTableAction(ObserverContext, TableDescriptor,HRegionInfo[])
+ postCompletedCreateTableAction(ObserverContext,TableDescriptor,HRegionInfo[])
+ preModifyTable(ObserverContext,TableName, TableDescriptor)
+ postModifyTable(ObserverContext,TableName, TableDescriptor)
+ preModifyTableAction( ObserverContext,TableName,TableDescriptor)
+ postCompletedModifyTableAction( ObserverContext,TableName,TableDescriptor)
+ preAddColumnFamily(ObserverContext,TableName, ColumnFamilyDescriptor)
+ postAddColumnFamily(ObserverContext,TableName, ColumnFamilyDescriptor)
+ preAddColumnFamilyAction(ObserverContext,TableName,ColumnFamilyDescriptor)
+ postCompletedAddColumnFamilyAction(ObserverContext,TableName, 
ColumnFamilyDescriptor)
+ preModifyColumnFamily(ObserverContext,TableName, ColumnFamilyDescriptor)
+ 
preModifyColumnFamilyAction(ObserverContext<MasterCoprocessorEnvironment,TableName,ColumnFamilyDescriptor)
+ 
postCompletedModifyColumnFamilyAction(ObserverContext<MasterCoprocessorEnvironment>,TableName,ColumnFamilyDescriptor)
+ 
preCloneSnapshot(ObserverContext<MasterCoprocessorEnvironment>,SnapshotDescription,TableDescriptor)
+ 
postCloneSnapshot(ObserverContext<MasterCoprocessorEnvironment>,SnapshotDescription,TableDescripto)
+ 
preRestoreSnapshot(ObserverContext<MasterCoprocessorEnvironment,SnapshotDescription,TableDescriptor)
+ 
postRestoreSnapshot(ObserverContext<MasterCoprocessorEnvironment,SnapshotDescription,TableDescriptor)
+ 
preGetTableDescriptors(ObserverContext<MasterCoprocessorEnvironment>,List<TableName>,
 List<TableDescriptor>,String) 
+ 
postGetTableDescriptors(ObserverContext<MasterCoprocessorEnvironment>,List<TableName>,
 List<TableDescriptor>,String)
+ 
preGetTableNames(ObserverContext<MasterCoprocessorEnvironment>,List<TableDescriptor>,
 String)
+ 
postGetTableNames(ObserverContext<MasterCoprocessorEnvironment>,List<TableDescriptor>,
 String)



> Change MasterObserver to use TableDescriptor and ColumnFamilyDescriptor
> -----------------------------------------------------------------------
>
>                 Key: HBASE-18502
>                 URL: https://issues.apache.org/jira/browse/HBASE-18502
>             Project: HBase
>          Issue Type: Sub-task
>          Components: Coprocessors, master
>            Reporter: Chia-Ping Tsai
>            Assignee: Chia-Ping Tsai
>            Priority: Critical
>             Fix For: 3.0.0, 2.0.0-alpha-2
>
>         Attachments: HBASE-18502.v0.patch, HBASE-18502.v1.patch, 
> HBASE-18502.v1.patch, HBASE-18502.v2.patch
>
>
> MasterObserver is IA.COPROC so we can make some Incompatible change for 3.0 
> and 2.0



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to