[ 
https://issues.apache.org/jira/browse/RANGER-5377?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Madhan Neethiraj resolved RANGER-5377.
--------------------------------------
    Fix Version/s: 3.0.0
                   2.8.0
       Resolution: Fixed

master branch: 
[https://github.com/apache/ranger/commit/a61d9c08e36c753078c3b00aea790b117d6a20d0]

ranger-2.8 branch: 
https://github.com/apache/ranger/commit/7983489ca25207373a6cc8f0568cb8023c77f0fe

> Tagsync fails with ClassNotFoundException 
> ------------------------------------------
>
>                 Key: RANGER-5377
>                 URL: https://issues.apache.org/jira/browse/RANGER-5377
>             Project: Ranger
>          Issue Type: Bug
>          Components: tagsync
>            Reporter: Madhan Neethiraj
>            Assignee: Madhan Neethiraj
>            Priority: Major
>             Fix For: 3.0.0, 2.8.0
>
>          Time Spent: 0.5h
>  Remaining Estimate: 0h
>
> When tagsync is configured to consume notifications from Atlas i.e., with 
> configurationĀ  {{{}ranger.tagsync.source.atlas=true{}}}, startup fails with 
> the following error:
> {noformat}
> Exception in thread "main" java.lang.NoClassDefFoundError: 
> com/google/common/util/concurrent/ThreadFactoryBuilder
> at org.apache.atlas.hook.AtlasHook.<clinit>(AtlasHook.java:151)
> at 
> org.apache.atlas.kafka.NotificationProvider.get(NotificationProvider.java:54)
> at 
> org.apache.ranger.tagsync.source.atlas.AtlasTagSource.initialize(AtlasTagSource.java:106)
> at 
> org.apache.ranger.tagsync.process.TagSynchronizer.initializeTagSources(TagSynchronizer.java:341)
> at 
> org.apache.ranger.tagsync.process.TagSynchronizer.initialize(TagSynchronizer.java:218)
> at 
> org.apache.ranger.tagsync.process.TagSynchronizer.main(TagSynchronizer.java:72)
> Caused by: java.lang.ClassNotFoundException: 
> com.google.common.util.concurrent.ThreadFactoryBuilder
> 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)
> ... 6 more
> {noformat}
> This is caused by missing dependent library {{guava.jar}} in tagsync package.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to