Description
It appears that introduction of jackson fasterxml libraries cause the following error to be seen in usersync logs:
java.lang.NoClassDefFoundError: com/fasterxml/jackson/core/type/TypeReference at org.apache.ranger.unixusersync.process.PolicyMgrUserGroupBuilder.buildGroupList(PolicyMgrUserGroupBuilder.java:463) at org.apache.ranger.unixusersync.process.PolicyMgrUserGroupBuilder.buildUserGroupInfo(PolicyMgrUserGroupBuilder.java:426) at org.apache.ranger.unixusersync.process.PolicyMgrUserGroupBuilder.init(PolicyMgrUserGroupBuilder.java:240) at org.apache.ranger.usergroupsync.UserGroupSync.run(UserGroupSync.java:50) at java.lang.Thread.run(Thread.java:750) Caused by: java.lang.ClassNotFoundException: com.fasterxml.jackson.core.type.TypeReference at java.net.URLClassLoader.findClass(URLClassLoader.java:387) at java.lang.ClassLoader.loadClass(ClassLoader.java:418) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:352) at java.lang.ClassLoader.loadClass(ClassLoader.java:351) ... 5 common frames omitted 28 Jun 2024 19:10:28 DEBUG o.a.r.u.UserGroupSync [UnixUserSyncThread] - Sleeping for [60000] milliSeconds
Attachments
Issue Links
- is broken by
-
RANGER-4806 With java 17 the audit spool exception is seen if solr is not reachable.
- Resolved