hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Phabricator (Commented) (JIRA)" <>
Subject [jira] [Commented] (HIVE-2720) Merge MetaStoreListener and HiveMetaHook interfaces
Date Wed, 18 Jan 2012 03:29:41 GMT


Phabricator commented on HIVE-2720:

enis has commented on the revision "HIVE-2720 [jira] Merge MetaStoreListener and HiveMetaHook

  Some justifications on why we want to do the changes in this patch:
   - In the parent issue to this,, we are
introducing authorization checks in the metastore. With this patch, the authorization enforcer
for the metastore can be implemented as a MetaStoreListener.

   - In a future issue (no jiras yet), we want to move HBase storage handler notifications
from the client, to the metastore server. So that, the clients does not have to link hbase,
and the metastore server can better enforce data sync.

   - again in a future issue (no jiras yet), we want to be optionally delegate ACL checks
to the storage layer ( related: HIVE-1943 ), so with this patch, the storage handler can implement
it's own authorization and validation checks.


> Merge MetaStoreListener and HiveMetaHook interfaces
> ---------------------------------------------------
>                 Key: HIVE-2720
>                 URL:
>             Project: Hive
>          Issue Type: Sub-task
>          Components: JDBC, Metastore, ODBC, Security
>            Reporter: Enis Soztutar
>            Assignee: Enis Soztutar
>         Attachments: HIVE-2720.D1299.1.patch, HIVE-2720.D1299.2.patch
> 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. 

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:!default.jspa
For more information on JIRA, see:


View raw message