You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@sentry.apache.org by "Na Li (JIRA)" <ji...@apache.org> on 2019/03/01 03:59:00 UTC

[jira] [Updated] (SENTRY-2503) Failed to revoke the privilege from impala-shell if the privilege added from beeline cli

     [ https://issues.apache.org/jira/browse/SENTRY-2503?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Na Li updated SENTRY-2503:
--------------------------
    Attachment: SENTRY-2503.002.patch

> Failed to revoke the privilege from impala-shell if the privilege added from beeline cli
> ----------------------------------------------------------------------------------------
>
>                 Key: SENTRY-2503
>                 URL: https://issues.apache.org/jira/browse/SENTRY-2503
>             Project: Sentry
>          Issue Type: Bug
>          Components: Sentry
>    Affects Versions: 2.2.0
>            Reporter: Na Li
>            Assignee: Na Li
>            Priority: Major
>         Attachments: SENTRY-2503.001.patch, SENTRY-2503.002.patch
>
>
> When granting all privilege on a table from impala-shell, this privilege cannot be revoked from hiove beeline.
> When granting all privilege on a table from hive beeline, this privilege cannot be revoked from  impala-shell.
> The reason is that impala uses "ALL" to represent all privilege, and hive uses "*". So getting privilege to drop it does not properly.
> The solution is to find all equivalent privileges from input, and drop them.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)