You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@sentry.apache.org by "Hao Hao (JIRA)" <ji...@apache.org> on 2017/04/28 22:40:04 UTC
[jira] [Updated] (SENTRY-1734) Create/Alter/Drop database/table
should check corresponding property before drop privileges
[ https://issues.apache.org/jira/browse/SENTRY-1734?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Hao Hao updated SENTRY-1734:
----------------------------
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. (was: 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.)
> 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, 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.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)