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

Cleanup DB store privilege metadata on Hive DDL statements

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.4.0
    • Component/s: None
    • Labels:

      Description

      The hive statements like drop table, alter table rename etc will rename or destroy the DB objects. We need to update the privilege metadata for these objects the accordingly.
      At minimum, we need to handle it for following -
      DROP TABLE
      DROP DATABASE
      ALTER TABLE RENAME

        Attachments

        1. SENTRY-162-noThrift.1.patch
          39 kB
          Prasad Suresh Mujumdar
        2. SENTRY-162.1.patch
          104 kB
          Prasad Suresh Mujumdar
        3. SENTRY-162.2.patch
          193 kB
          Prasad Suresh Mujumdar
        4. SENTRY-162-noThrift.2.patch
          61 kB
          Prasad Suresh Mujumdar
        5. SENTRY-162.4.patch
          196 kB
          Prasad Suresh Mujumdar
        6. SENTRY-162.5.patch
          196 kB
          Prasad Suresh Mujumdar
        7. SENTRY-162.5.patch
          196 kB
          Prasad Suresh Mujumdar
        8. SENTRY-162.6.patch
          193 kB
          Prasad Suresh Mujumdar

          Issue Links

            Activity

              People

              • Assignee:
                prasadm Prasad Suresh Mujumdar
                Reporter:
                prasadm Prasad Suresh Mujumdar
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: