Anatoly created RANGER-4412:
-------------------------------

             Summary: Authorization error Ozone plugin
                 Key: RANGER-4412
                 URL: https://issues.apache.org/jira/browse/RANGER-4412
             Project: Ranger
          Issue Type: Bug
          Components: Ranger
    Affects Versions: 2.3.0
            Reporter: Anatoly


When setting up a connection to Ozone from Ranger 2.3.0, I receive a message in 
the UI
Connection Failed.
{code:java}
Unable to retrieve any files using given parameters, You can still save the 
repository and start creating policies, but you would not be able to use 
autocomplete for resource names. Check ranger_admin.log for more info.
java.lang.NoClassDefFoundError: 
org/apache/hadoop/shaded/com/google/protobuf/ServiceException.
org.apache.hadoop.shaded.com.google.protobuf.ServiceException.
{code}

Error in Ranger Admin logs

 
{code:java}
2023-09-14 09:37:31,798 [timed-executor-pool-0] INFO [Base Client.java:126] 
Init Login: security not enabled, using username
2023-09-14 09:37:31,857 [http-nio-6080-exec-9] ERROR [ServiceMgr.java:198] ==> 
ServiceMgr.validateConfig 
Error:org.apache.ranger.plugin.client.HadoopException: 
java.lang.NoClassDefFoundError: 
org/apache/hadoop/shaded/com/google/protobuf/ServiceException{code}
 

The directory for the Ozone plugin had to be created manually in 
{code:java}
ews/webapp/WEB-INF/classes/ranger-plugins/ozone{code}
 because it was not there by default and copied jars Ozone there after creation



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to