Fredy Wijaya created IMPALA-8671:
------------------------------------

             Summary: Do not re-create a new instance of AuthorizationChecker 
with Ranger authorization
                 Key: IMPALA-8671
                 URL: https://issues.apache.org/jira/browse/IMPALA-8671
             Project: IMPALA
          Issue Type: Sub-task
          Components: Frontend
            Reporter: Fredy Wijaya
            Assignee: Fredy Wijaya


RangerAuthorizationChecker is stateless unlike SentryAuthorizationChecker. 
However, in some cases, we always re-create a new instance of 
RangerAuthorizationChecker due to the logic here: 
https://github.com/apache/impala/blob/3bd53972cec3b8a863075cb2344115a950be848a/fe/src/main/java/org/apache/impala/service/Frontend.java#L290-L293.
 This causes the plugin to be re-initialized, which can be expensive. The 
solution is to reuse the same RangerAuthorizationChecker instance.



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

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to