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

Replace Sentry admin check workaround with proper Sentry API

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • Impala 3.3.0
    • Catalog
    • ghx-label-6

    Description

      Impala uses a workaround to detect if a user is a Sentry admin by calling list privileges API before Sentry didn't provide an API to tell if user is a Sentry admin: https://github.com/apache/impala/blob/d820952d86d34ba887c55a09e58b735cbef866c2/fe/src/main/java/org/apache/impala/authorization/sentry/SentryProxy.java#L378-L393

      https://issues.apache.org/jira/browse/SENTRY-2440 supports a new API. We should update the Impala to use the new proper Sentry API.

      Attachments

        Activity

          People

            fangyurao Fang-Yu Rao
            fredyw Fredy Wijaya
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: