You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "MLikeWater (Jira)" <ji...@apache.org> on 2022/04/27 10:06:00 UTC

[jira] [Created] (HDDS-6657) Improved Ozone integrated Ranger configuration instructions

MLikeWater created HDDS-6657:
--------------------------------

             Summary: Improved Ozone integrated Ranger configuration instructions
                 Key: HDDS-6657
                 URL: https://issues.apache.org/jira/browse/HDDS-6657
             Project: Apache Ozone
          Issue Type: Improvement
          Components: documentation
            Reporter: MLikeWater


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}}



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org