[jira] [Created] (IMPALA-8476) Replace Sentry admin check workaround with proper Sentry API

2019-04-30 Thread Fredy Wijaya (JIRA)
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)

-
To unsubscribe, e-mail: issues-all-unsubscr...@impala.apache.org
For additional commands, e-mail: issues-all-h...@impala.apache.org



[jira] [Created] (IMPALA-8476) Replace Sentry admin check workaround with proper Sentry API

2019-04-30 Thread Fredy Wijaya (JIRA)
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)