[
https://issues.apache.org/jira/browse/HDDS-8997?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Ashish Kumar reassigned HDDS-8997:
----------------------------------
Assignee: Ashish Kumar
> RangerOzoneAuthorizer, OzoneManager initializes multiple times causing issue
> ----------------------------------------------------------------------------
>
> Key: HDDS-8997
> URL: https://issues.apache.org/jira/browse/HDDS-8997
> Project: Apache Ozone
> Issue Type: Bug
> Reporter: Ashish Kumar
> Assignee: Ashish Kumar
> Priority: Major
>
> [RangerBasePlugin|https://github.com/apache/ranger/blob/ff78e621def1e986b939af23cbd2d2948bf5af08/plugin-ozone/src/main/java/org/apache/ranger/authorization/ozone/authorizer/RangerOzoneAuthorizer.java#L59]
> which is static volatile. And we do new inside RangerOzoneAuthorizer()
> constructor, so the old initialization gets destroyed when we call second
> time. And If we see constructor we are doing init which does refresh policies
> also. So at this moment if any request comes and since the initialization and
> refresh has not been been done yet it will return null back to ozone for
> requests at that moment.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]