Hi Aniket,
Thanks for the help. I finally managed to solve the problem. As suggested I did 
three things :-

1)      Restarted the entire topology

2)      Specified the port of the redis server

3)      Did a clean maven compile to generate the jar. Your pom.xml helped me 
here.

Thanks for saving me a night out :)

Best,
Abhinav

From: Aniket Alhat [mailto:[email protected]]
Sent: Monday, February 17, 2014 8:11 PM
To: [email protected]
Subject: Re: Integrating STORM with Redis


Hi Abhinav,
I guess problem is on the worker node where your code gets deployed.
Try installing redis on the machine on which you are deploying your code.

In the mean time you can checkout this repo and compare it with your code.

I recommend Maven.

https://github.com/aniketalhat/StatefulBolts
On Feb 17, 2014 5:23 PM, "Abhinav Sunderrajan" 
<[email protected]<mailto:[email protected]>>
 wrote:
Hi,
I am quite new to both Redis and STORM. I have a bolt running writing data to a 
redis map which works perfectly fine when running locally. When I deploy the 
code to the cluster, I get a class not found exception specifically telling me 
that redis client cannot be found ( Caused by: 
java.lang.ClassNotFoundException: redis.clients.jedis.Jedis). I copied the 
redis jar to the
/storm-0.9.0.1/lib folder (which includes all jar in the path before the 
topology  submission) just like I added other dependencies which BTW  are not 
causing any such problems. Can anyone please help me out with this problem?

Best,
Abhinav

Reply via email to