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

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

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.2.0
    • Fix Version/s: None
    • Component/s: Sentry
    • Labels:
      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

              • Assignee:
                LinaAtAustin Na Li
                Reporter:
                LinaAtAustin Na Li
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: