Uploaded image for project: 'Sentry (Retired)'
  1. Sentry (Retired)
  2. SENTRY-2503

Failed to revoke the privilege from impala-shell if the privilege added from beeline cli

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.2.0
    • 2.2.0
    • Sentry
    • None

    Description

      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.

      Attachments

        1. SENTRY-2503.001.patch
          9 kB
          Na Li
        2. SENTRY-2503.002.patch
          12 kB
          Na Li
        3. SENTRY-2503.003.patch
          14 kB
          Na Li
        4. SENTRY-2503.004.patch
          14 kB
          Na Li
        5. SENTRY-2503.004.patch
          14 kB
          Na Li

        Issue Links

          Activity

            People

              linaataustin Na Li
              linaataustin Na Li
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Slack

                  Issue deployment