Fang-Yu Rao has uploaded a new patch set (#3). ( 
http://gerrit.cloudera.org:8080/13346 )

Change subject: IMPALA-8476: Replace Sentry admin check workaround with proper 
Sentry API
......................................................................

IMPALA-8476: Replace Sentry admin check workaround with proper Sentry API

Impala uses a workaround to detect if a user is a Sentry admin by by asking
the Sentry API to list privileges associated with the user, since previously
Sentry did not provide an suitable API to peform this check. SENTRY-2440
provides a new API (https://issues.apache.org/jira/browse/SENTRY-2440), and
thus it would be good to update the Impala to make the code easier to
understand.

Testing:
1. Passed the tests in AuthorizationTest.java.
2. Passed the Sentry related tests in AuthorizationStmtTest.java.
3. Passed the tests in test_sentry.py.

Change-Id: I5a27140d401494bc372ad0da96ada57bda94cd82
---
M bin/impala-config.sh
M fe/src/main/java/org/apache/impala/authorization/sentry/SentryProxy.java
2 files changed, 20 insertions(+), 6 deletions(-)


  git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/46/13346/3
--
To view, visit http://gerrit.cloudera.org:8080/13346
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: newpatchset
Gerrit-Change-Id: I5a27140d401494bc372ad0da96ada57bda94cd82
Gerrit-Change-Number: 13346
Gerrit-PatchSet: 3
Gerrit-Owner: Fang-Yu Rao <fangyu....@cloudera.com>
Gerrit-Reviewer: Fang-Yu Rao <fangyu....@cloudera.com>
Gerrit-Reviewer: Fredy Wijaya <fwij...@cloudera.com>
Gerrit-Reviewer: Impala Public Jenkins <impala-public-jenk...@cloudera.com>

Reply via email to