[ https://issues.apache.org/jira/browse/RANGER-4836?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Abhishek Kumar updated RANGER-4836: ----------------------------------- Fix Version/s: 3.0.0 > Ranger Usersync failing due to java.lang.NoClassDefFoundError > ------------------------------------------------------------- > > Key: RANGER-4836 > URL: https://issues.apache.org/jira/browse/RANGER-4836 > Project: Ranger > Issue Type: Bug > Components: usersync > Affects Versions: 2.5.0 > Reporter: Abhishek Kumar > Assignee: Abhishek Kumar > Priority: Major > Fix For: 3.0.0, 2.5.0 > > > It appears that introduction of jackson fasterxml libraries cause the > following error to be seen in usersync logs: > {code:java} > 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 {code} -- This message was sent by Atlassian Jira (v8.20.10#820010)