[ https://issues.apache.org/jira/browse/HIVE-14796?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15928521#comment-15928521 ]
Tanping Wang commented on HIVE-14796: ------------------------------------- [~ashutoshc] Is this something that the Hive Open Source community is interesting in accepting? Would like to hear your feedback before we can start working on this. > MetastoreEventListener - OnGrant() and OnRevoke() Events required for > capturing the event on grant and revoke operation on the table in hive. > ---------------------------------------------------------------------------------------------------------------------------------------------- > > Key: HIVE-14796 > URL: https://issues.apache.org/jira/browse/HIVE-14796 > Project: Hive > Issue Type: New Feature > Components: Authorization > Affects Versions: 1.2.1 > Environment: RHEL6 and RHEL7 > Reporter: Rahul Dhote > > During granting and revoking privileges on the table, OnGrant and OnRevoke > method is required inside the MetastoreEventListener for capturing the events. > It would be useful for doing certain operation on this basic authorization > events. > Ex: > /** > * @param OnGrantEvent grant event > * @throws MetaException > */ > public void onGrant(GrantEvent grantEvent) throws MetaException { > } > /** > * @param OnRevoke revoke event > * @throws MetaException > */ > public void onRevoke(RevokeEvent revokeEvent) throws MetaException { > } -- This message was sent by Atlassian JIRA (v6.3.15#6346)