Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-14796

MetastoreEventListener - OnGrant() and OnRevoke() Events required for capturing the event on grant and revoke operation on the table in hive.

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 1.2.1
    • None
    • Authorization
    • None
    • RHEL6 and RHEL7

    Description

      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 {
        }

      Attachments

        Activity

          People

            sailajanch Sailaja Navvluru
            rahuldhote Rahul Dhote
            Votes:
            4 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated: