Fredy Wijaya created IMPALA-8476:
------------------------------------

             Summary: Replace Sentry admin check workaround with proper Sentry 
API
                 Key: IMPALA-8476
                 URL: https://issues.apache.org/jira/browse/IMPALA-8476
             Project: IMPALA
          Issue Type: Improvement
          Components: Catalog
            Reporter: Fredy Wijaya


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.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to