[ 
https://issues.apache.org/jira/browse/EAGLE-870?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15862122#comment-15862122
 ] 

Jayesh commented on EAGLE-870:
------------------------------

I noticed this is also the case in MR Running topology where i can see 
following exception :
{code}
java.lang.NoClassDefFoundError: com/sun/jersey/api/client/config/ClientConfig
        at 
org.apache.eagle.jpm.mr.running.parser.MRJobEntityCreationHandler.flush(MRJobEntityCreationHandler.java:75)
 ~[stormjar.jar:?]
        at 
org.apache.eagle.jpm.mr.running.parser.MRJobParser.run(MRJobParser.java:575) 
~[stormjar.jar:?]
        at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) 
~[?:1.8.0_102]
        at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) 
~[?:1.8.0_102]
        at java.lang.Thread.run(Thread.java:745) [?:1.8.0_102]
Caused by: java.lang.ClassNotFoundException: 
com.sun.jersey.api.client.config.ClientConfig
        at java.net.URLClassLoader.findClass(URLClassLoader.java:381) 
~[?:1.8.0_102]
        at java.lang.ClassLoader.loadClass(ClassLoader.java:424) ~[?:1.8.0_102]
        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331) 
~[?:1.8.0_102]
        at java.lang.ClassLoader.loadClass(ClassLoader.java:357) ~[?:1.8.0_102]
        ... 5 more
{code}

including these classes into storm-jar, it fixes the issue.


> NoClassDefFoundError in alert storm topology
> --------------------------------------------
>
>                 Key: EAGLE-870
>                 URL: https://issues.apache.org/jira/browse/EAGLE-870
>             Project: Eagle
>          Issue Type: Bug
>            Reporter: Jayesh
>            Assignee: Jayesh
>            Priority: Critical
>
> alert module is throwing this error in storm topology about not finding the 
> class
> {code}
> java.lang.NoClassDefFoundError: com/sun/jersey/api/client/GenericType at 
> org.apache.eagle.alert.engine.coordinator.impl.ZKMetadataChangeNotifyService.init(ZKMetadataChangeNotifyService.java:70)
> {code}
> GenericType class here mentioned is part of jetty-client from 
> com.sun.jersey.jetty which is not included in 
> eagle-topology-0.5.0-SNAPSHOT-assembly.jar
> due to this error, alert topology wont be able to execute.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to