maven - what are the jars needed to set on classpath during storm hbase integration -


i trying integrate storm , hbase ,and program getting submitted storm topology without error or exception when check logs getting java.lang.runtimeexception: java.lang.classnotfoundexception:org.apache.storm.hbase.bolt.hbasebolt , have added storm-hbase-0.9.3.jar classpath i.e storm lib folder still getting exception @ run time -

java.lang.runtimeexception: java.lang.classnotfoundexception: org.apache.storm.hbase.bolt.hbasebolt @ backtype.storm.serialization.defaultserializationdelegate.deserialize(defaultserializationdelegate.java:58) ~[storm-core-0.9.3.jar:0.9.3] @ backtype.storm.utils.utils.deserialize(utils.java:89) ~[storm-core-0.9.3.jar:0.9.3] @ backtype.storm.utils.utils.getsetcomponentobject(utils.java:228) ~[storm-core-0.9.3.jar:0.9.3] @ backtype.storm.daemon.task$get_task_object.invoke(task.clj:73) ~[storm-core-0.9.3.jar:0.9.3] @ backtype.storm.daemon.task$mk_task_data$fn__3131.invoke(task.clj:180) ~[storm-core-0.9.3.jar:0.9.3] @ backtype.storm.util$assoc_apply_self.invoke(util.clj:850) ~[storm-core-0.9.3.jar:0.9.3] @ backtype.storm.daemon.task$mk_task_data.invoke(task.clj:173) ~[storm-core-0.9.3.jar:0.9.3] @ backtype.storm.daemon.task$mk_task.invoke(task.clj:184) ~[storm-core-0.9.3.jar:0.9.3] @ backtype.storm.daemon.executor$mk_executor$fn__3310.invoke(executor.clj:323) ~[storm-core-0.9.3.jar:0.9.3] @ clojure.core$map$fn__4207.invoke(core.clj:2485) ~[clojure-1.5.1.jar:na] @ clojure.lang.lazyseq.sval(lazyseq.java:42) ~[clojure-1.5.1.jar:na] @ clojure.lang.lazyseq.seq(lazyseq.java:60) ~[clojure-1.5.1.jar:na] @ clojure.lang.rt.seq(rt.java:484) ~[clojure-1.5.1.jar:na] @ clojure.core$seq.invoke(core.clj:133) ~[clojure-1.5.1.jar:na] @ clojure.core.protocols$seq_reduce.invoke(protocols.clj:30) ~[clojure-1.5.1.jar:na] @ clojure.core.protocols$fn__6026.invoke(protocols.clj:54) ~[clojure-1.5.1.jar:na] @ clojure.core.protocols$fn__5979$g__5974__5992.invoke(protocols.clj:13) ~[clojure-1.5.1.jar:na] @ clojure.core$reduce.invoke(core.clj:6177) ~[clojure-1.5.1.jar:na] @ clojure.core$into.invoke(core.clj:6229) ~[clojure-1.5.1.jar:na] @ backtype.storm.daemon.executor$mk_executor.invoke(executor.clj:323) ~[storm-core-0.9.3.jar:0.9.3] @ backtype.storm.daemon.worker$fn__3743$exec_fn__1108__auto____3744$iter__3749__3753$fn__3754.invoke(worker.clj:382) ~[storm-core-0.9.3.jar:0.9.3] @ clojure.lang.lazyseq.sval(lazyseq.java:42) ~[clojure-1.5.1.jar:na] @ clojure.lang.lazyseq.seq(lazyseq.java:60) ~[clojure-1.5.1.jar:na] @ clojure.lang.rt.seq(rt.java:484) ~[clojure-1.5.1.jar:na] @ clojure.core$seq.invoke(core.clj:133) ~[clojure-1.5.1.jar:na] @ clojure.core$dorun.invoke(core.clj:2780) ~[clojure-1.5.1.jar:na] @ clojure.core$doall.invoke(core.clj:2796) ~[clojure-1.5.1.jar:na] @ backtype.storm.daemon.worker$fn__3743$exec_fn__1108__auto____3744.invoke(worker.clj:382) ~[storm-core-0.9.3.jar:0.9.3] @ clojure.lang.afn.applytohelper(afn.java:185) [clojure-1.5.1.jar:na] @ clojure.lang.afn.applyto(afn.java:151) [clojure-1.5.1.jar:na] @ clojure.core$apply.invoke(core.clj:617) ~[clojure-1.5.1.jar:na] @ backtype.storm.daemon.worker$fn__3743$mk_worker__3799.doinvoke(worker.clj:354) [storm-core-0.9.3.jar:0.9.3] @ clojure.lang.restfn.invoke(restfn.java:512) [clojure-1.5.1.jar:na] @ backtype.storm.daemon.worker$_main.invoke(worker.clj:461) [storm-core-0.9.3.jar:0.9.3] @ clojure.lang.afn.applytohelper(afn.java:172) [clojure-1.5.1.jar:na] @ clojure.lang.afn.applyto(afn.java:151) [clojure-1.5.1.jar:na] @ backtype.storm.daemon.worker.main(unknown source) [storm-core-0.9.3.jar:0.9.3] caused by: java.lang.classnotfoundexception: org.apache.storm.hbase.bolt.hbasebolt @ java.net.urlclassloader$1.run(urlclassloader.java:366) ~[na:1.7.0_72] @ java.net.urlclassloader$1.run(urlclassloader.java:355) ~[na:1.7.0_72] @ java.security.accesscontroller.doprivileged(native method) ~[na:1.7.0_72] @ java.net.urlclassloader.findclass(urlclassloader.java:354) ~[na:1.7.0_72] @ java.lang.classloader.loadclass(classloader.java:425) ~[na:1.7.0_72] @ sun.misc.launcher$appclassloader.loadclass(launcher.java:308) ~[na:1.7.0_72] @ java.lang.classloader.loadclass(classloader.java:358) ~[na:1.7.0_72] @ java.lang.class.forname0(native method) ~[na:1.7.0_72] @ java.lang.class.forname(class.java:274) ~[na:1.7.0_72] @ java.io.objectinputstream.resolveclass(objectinputstream.java:625) ~[na:1.7.0_72] @ java.io.objectinputstream.readnonproxydesc(objectinputstream.java:1612) ~[na:1.7.0_72] @ java.io.objectinputstream.readclassdesc(objectinputstream.java:1517) ~[na:1.7.0_72] @ java.io.objectinputstream.readordinaryobject(objectinputstream.java:1771) ~[na:1.7.0_72] @ java.io.objectinputstream.readobject0(objectinputstream.java:1350) ~[na:1.7.0_72] @ java.io.objectinputstream.readobject(objectinputstream.java:370) ~[na:1.7.0_72] @ backtype.storm.serialization.defaultserializationdelegate.deserialize(defaultserializationdelegate.java:52) ~[storm-core-0.9.3.jar:0.9.3] ... 36 common frames omitted 2015-04-01t18:20:13.559+0530 b.s.util [error] halting process: ("error on initialization") java.lang.runtimeexception: ("error on initialization") @ backtype.storm.util$exit_process_bang_.doinvoke(util.clj:325) [storm-core-0.9.3.jar:0.9.3] @ clojure.lang.restfn.invoke(restfn.java:423) [clojure-1.5.1.jar:na] @ backtype.storm.daemon.worker$fn__3743$mk_worker__3799.doinvoke(worker.clj:354) [storm-core-0.9.3.jar:0.9.3] @ clojure.lang.restfn.invoke(restfn.java:512) [clojure-1.5.1.jar:na] @ backtype.storm.daemon.worker$_main.invoke(worker.clj:461) [storm-core-0.9.3.jar:0.9.3] @ clojure.lang.afn.applytohelper(afn.java:172) [clojure-1.5.1.jar:na] @ clojure.lang.afn.applyto(afn.java:151) [clojure-1.5.1.jar:na] @ backtype.storm.daemon.worker.main(unknown source) [storm-core-0.9.3.jar:0.9.3]

can tell me how resolve ,m missing jar @ classpath?

at last added jars of pom.xml in lib folder using plugin -

<plugins>             <plugin>                 <groupid>org.apache.maven.plugins</groupid>                 <artifactid>maven-dependency-plugin</artifactid>                 <version>2.10</version>                 <executions>                     <execution>                         <id>copy-dependencies</id>                         <phase>package</phase>                         <goals>                             <goal>copy-dependencies</goal>                         </goals>                         <configuration>                             <outputdirectory>/usr/local/storm/lib</outputdirectory>                             <overwritereleases>false</overwritereleases>                             <overwritesnapshots>false</overwritesnapshots>                             <overwriteifnewer>true</overwriteifnewer>                         </configuration>                     </execution>                 </executions>             </plugin>          </plugins> 

and worked fine .


Comments

Popular posts from this blog

Payment information shows nothing in one page checkout page magento -

tcpdump - How to check if server received packet (acknowledged) -