Rahul Dhote created HIVE-14796:
----------------------------------

             Summary: 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 onAddIndex(GrantEvent grantEvent) throws MetaException {
  }

  /**
   * @param OnRevoke revoke event
   * @throws MetaException
   */
  public void onDropIndex(RevokeEvent revokeEvent) throws MetaException {
  }



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to