[ 
https://issues.apache.org/jira/browse/HIVE-2720?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13188252#comment-13188252
 ] 

Phabricator commented on HIVE-2720:
-----------------------------------

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

  Some justifications on why we want to do the changes in this patch:
   - In the parent issue to this, 
https://issues.apache.org/jira/browse/HIVE-2241, 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.

REVISION DETAIL
  https://reviews.facebook.net/D1299

                
> Merge MetaStoreListener and HiveMetaHook interfaces
> ---------------------------------------------------
>
>                 Key: HIVE-2720
>                 URL: https://issues.apache.org/jira/browse/HIVE-2720
>             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: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to