[ 
https://issues.apache.org/jira/browse/IMPALA-8671?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Fredy Wijaya resolved IMPALA-8671.
----------------------------------
       Resolution: Fixed
    Fix Version/s: Impala 3.3.0

> 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
>            Priority: Critical
>             Fix For: Impala 3.3.0
>
>
> 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: issues-all-unsubscr...@impala.apache.org
For additional commands, e-mail: issues-all-h...@impala.apache.org

Reply via email to