Anatoly created HDDS-9282:
-----------------------------
Summary: Authorization error Ozone plugin for Ranger
Key: HDDS-9282
URL: https://issues.apache.org/jira/browse/HDDS-9282
Project: Apache Ozone
Issue Type: Bug
Affects Versions: 1.3.0
Reporter: Anatoly
Attachments: image-2023-09-14-12-54-32-746.png
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
!image-2023-09-14-12-54-32-746.png|width=495,height=285!
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]