You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@storm.apache.org by Manthosh Kumar T <ma...@gmail.com> on 2014/03/14 09:58:37 UTC
Phoenix SQLException
Hi All,
I'm trying to add data to HBase in one the bolts using Phoenix. My
topology runs properly in Local Mode. But when I run it in the cluster, I
get SQLException saying no suitable driver found. I had packaged
phoenix-client.jar along with the topology jar, Has anyone else faced this
issue?. Any suggestions?
Here's the stacktrace
java.sql.SQLException: No suitable driver found for jdbc:phoenix:zk-server
at java.sql.DriverManager.getConnection(DriverManager.java:640)
at java.sql.DriverManager.getConnection(DriverManager.java:222)
at com.storm.test.bolts.toEventBolt.execute(toEventBolt.java:46)
at
backtype.storm.topology.BasicBoltExecutor.execute(BasicBoltExecutor.java:33)
at
backtype.storm.daemon.executor$fn__3498$tuple_action_fn__3500.invoke(executor.clj:615)
at
backtype.storm.daemon.executor$mk_task_receiver$fn__3421.invoke(executor.clj:383)
at
backtype.storm.disruptor$clojure_handler$reify__2962.onEvent(disruptor.clj:43)
at
backtype.storm.utils.DisruptorQueue.consumeBatchToCursor(DisruptorQueue.java:87)
at
backtype.storm.utils.DisruptorQueue.consumeBatchWhenAvailable(DisruptorQueue.java:61)
at
backtype.storm.disruptor$consume_batch_when_available.invoke(disruptor.clj:62)
at
backtype.storm.daemon.executor$fn__3498$fn__3510$fn__3557.invoke(executor.clj:730)
at backtype.storm.util$async_loop$fn__444.invoke(util.clj:403)
at clojure.lang.AFn.run(AFn.java:24)
at java.lang.Thread.run(Thread.java:679)
--
Cheers,
Manthosh Kumar. T