[
https://issues.apache.org/jira/browse/RANGER-4411?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17957042#comment-17957042
]
Nikolay commented on RANGER-4411:
---------------------------------
Checked on the master branch from GitHub
> Authorization error Ozone plugin
> --------------------------------
>
> Key: RANGER-4411
> URL: https://issues.apache.org/jira/browse/RANGER-4411
> Project: Ranger
> Issue Type: Bug
> Components: Ranger
> Affects Versions: 2.3.0, 2.4.0
> Reporter: t34
> Priority: Major
> Attachments: image-2023-09-15-09-48-13-934.png, Снимок экрана
> 2025-06-09 в 12.36.08.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-15-09-48-13-934.png|width=873,height=317!
--
This message was sent by Atlassian Jira
(v8.20.10#820010)