Uploaded image for project: 'IMPALA'
  1. IMPALA
  2. IMPALA-9771

Remove authorization roles functionality

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Won't Fix
    • Affects Version/s: Impala 4.0.0
    • Fix Version/s: Not Applicable
    • Component/s: Frontend
    • Labels:
      None

      Description

      There are several DDL statements that are specific to Sentry and only throw an error for Ranger. Specifically, the following:

      show roles;
      show current roles;
      create role foo;
      drop role foo;
      grant select ... to role foo;
      revoke select .. from role foo;
      show grant role foo;
      show role grant group foo;

      This is tested in authorization/test_ranger.py::TestRanger::test_unsupported_sql()

      https://github.com/apache/impala/blob/master/tests/authorization/test_ranger.py#L727-L744

      These can be removed now that Sentry support has been removed.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              joemcdonnell Joe McDonnell
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: