Hao Hao created SENTRY-1734:
-------------------------------

             Summary: Create/Alter/Drop database/table should check 
corresponding property before drop privileges 
                 Key: SENTRY-1734
                 URL: https://issues.apache.org/jira/browse/SENTRY-1734
             Project: Sentry
          Issue Type: Bug
    Affects Versions: sentry-ha-redesign
            Reporter: Hao Hao
             Fix For: sentry-ha-redesign


Before HA, 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.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to