MetaStoreListener and HiveMetaHook both serve as a notification mechanism for metastore-related events. The former is used by hcat and the latter is by the hbase-storage handler, and invoked by the client.
I propose to merge these interfaces, and extend the MetaStoreListener, to add most of the on- and pre- methods at the Thrift interface. This way, extending metastore will be easier, and validation, storage-driver notification, and enforcement can be delegated to individual listeners. Besides, more functionality can be plugged-in by Hcat at this level.
|Field||Original Value||New Value|
|Component/s||JDBC [ 12314178 ]|
|Component/s||Metastore [ 12312584 ]|
|Component/s||ODBC [ 12314179 ]|
|Component/s||Security [ 12313866 ]|