Ashish Kumar created HDDS-8997:
----------------------------------

             Summary: 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


[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]

Reply via email to