Uploaded image for project: 'Sentry (Retired)'
  1. Sentry (Retired)
  2. SENTRY-872 Uber jira for HMS HA + Sentry HA redesign
  3. SENTRY-1734

Create/Alter/Drop database/table should check corresponding property before drop privileges

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • 2.0.0
    • 2.0.0
    • None
    • None

    Description

      Before HA, at create/alter/drop database/table, Sentry HMS plugin (https://github.com/apache/sentry/blob/sentry-ha-redesign/sentry-binding/sentry-binding-hive/src/main/java/org/apache/sentry/binding/metastore/SentryMetastorePostEventListener.java#L123) was checking property(e.g. sentry.hive.sync.create) before do dropSentryDBPrivilege(dropSentryTablePrivilege) . To be consistent, HA branch should do the same.

      Attachments

        Activity

          People

            akolb Alex Kolbasov
            hahao Hao Hao
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: