kumaab opened a new pull request, #321:
URL: https://github.com/apache/ranger/pull/321

   ## What changes were proposed in this pull request?
   
   Fixes the below error seen when usersync starts:
   ```
   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}
   ```
   
   
   ## How was this patch tested?
   Tested the changes in docker for ranger usersync.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@ranger.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to