MLikeWater opened a new pull request, #3365:
URL: https://github.com/apache/ozone/pull/3365

   ## What changes were proposed in this pull request?
   
   Modified the Ozone integration Ranger documentation to indicate that the 
OZONE_CLASSPATH environment variable needs to be configured during the Ozone 
integration of Ranger to avoid the following errors:
   ```
   [main] INFO 
org.apache.hadoop.ozone.security.OzoneDelegationTokenSecretManager: Loading 
token state into token manager.
   [main] ERROR org.apache.hadoop.ozone.om.OzoneManagerStarter: OM start failed 
with exception
   java.lang.RuntimeException: java.lang.RuntimeException: 
java.lang.ClassNotFoundException: Class 
org.apache.ranger.authorization.ozone.authorizer.RangerOzoneAuthorizer not found
           at 
org.apache.hadoop.conf.Configuration.getClass(Configuration.java:2699)
           at 
org.apache.hadoop.ozone.om.OzoneManager.getACLAuthorizerInstance(OzoneManager.java:716)
           at 
org.apache.hadoop.ozone.om.OzoneManager.instantiateServices(OzoneManager.java:632)
           at 
org.apache.hadoop.ozone.om.OzoneManager.<init>(OzoneManager.java:501)
           at 
org.apache.hadoop.ozone.om.OzoneManager.createOm(OzoneManager.java:558)
           at 
org.apache.hadoop.ozone.om.OzoneManagerStarter$OMStarterHelper.start(OzoneManagerStarter.java:170)
           at 
org.apache.hadoop.ozone.om.OzoneManagerStarter.startOm(OzoneManagerStarter.java:83)
           at 
org.apache.hadoop.ozone.om.OzoneManagerStarter.call(OzoneManagerStarter.java:71)
           at org.apache.hadoop.hdds.cli.GenericCli.call(GenericCli.java:39)
           at picocli.CommandLine.executeUserObject(CommandLine.java:1953)
           at picocli.CommandLine.access$1300(CommandLine.java:145)
           at 
picocli.CommandLine$RunLast.executeUserObjectOfLastSubcommandWithSameParent(CommandLine.java:2352)
           at picocli.CommandLine$RunLast.handle(CommandLine.java:2346)
           at picocli.CommandLine$RunLast.handle(CommandLine.java:2311)
           at 
picocli.CommandLine$AbstractParseResultHandler.handleParseResult(CommandLine.java:2172)
           at picocli.CommandLine.parseWithHandlers(CommandLine.java:2550)
           at picocli.CommandLine.parseWithHandler(CommandLine.java:2485)
           at org.apache.hadoop.hdds.cli.GenericCli.execute(GenericCli.java:96)
           at org.apache.hadoop.hdds.cli.GenericCli.run(GenericCli.java:87)
           at 
org.apache.hadoop.ozone.om.OzoneManagerStarter.main(OzoneManagerStarter.java:55)
   Caused by: java.lang.RuntimeException: java.lang.ClassNotFoundException: 
Class org.apache.ranger.authorization.ozone.authorizer.RangerOzoneAuthorizer 
not found
           at 
org.apache.hadoop.conf.Configuration.getClass(Configuration.java:2667)
           at 
org.apache.hadoop.conf.Configuration.getClass(Configuration.java:2691)
           ... 19 more
   ```
   ## What is the link to the Apache JIRA
   [HDDS-6657](https://issues.apache.org/jira/projects/HDDS/issues/HDDS-6657)


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


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

Reply via email to