Fredy Wijaya has uploaded this change for review. ( 
http://gerrit.cloudera.org:8080/13663


Change subject: IMPALA-8671: Do not re-create RangerAuthorizationChecker 
instance on catalog update
......................................................................

IMPALA-8671: Do not re-create RangerAuthorizationChecker instance on catalog 
update

This patch fixes the issue where RangerAuthorizationChecker instance
gets created on every catalog update, which can impact the performance
due to the need to re-initialize the Ranger plugin. Unlike
SentryAuthorizationChecker which is stateful (it uses
AuthorizationPolicy), RangerAuthorizationChecker is stateless and we can
reuse the same instance of it.

Testing:
- Ran FE tests
- Ran E2E authorization tests

Change-Id: Iabd5c1b5c7cafc7a03681def0c0f6f775d690c41
---
M 
fe/src/main/java/org/apache/impala/authorization/ranger/RangerAuthorizationFactory.java
1 file changed, 6 insertions(+), 0 deletions(-)



  git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/63/13663/2
--
To view, visit http://gerrit.cloudera.org:8080/13663
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: Iabd5c1b5c7cafc7a03681def0c0f6f775d690c41
Gerrit-Change-Number: 13663
Gerrit-PatchSet: 2
Gerrit-Owner: Fredy Wijaya <fwij...@cloudera.com>

Reply via email to