Able to answer my own question:
I put my jar under a separate folder, and ran from there.
so it looks like:
storm-0.8.2
myfolder

From
https://github.com/nathanmarz/storm/blob/8cd0c067a5f176e07d66c90c5c4fa3624c0199f6/bin/storm
it seems that storm loads its lib jars from current folder. Thus I move my
topology jar one up level:
stor-0.8.2
mytopology.jar

and run from there. The error is gone.

Thanks,
Chen


On Fri, Jan 17, 2014 at 12:01 AM, Chen Wang <[email protected]>wrote:

> Hi, Guys,
> I have copied all my external jars under storm/lib. I have two nodes in
> the cluster, and I copied them to the storm lib folder of both of them.
>
> Running the topology in local mode has no issue, however, it throws class
> not found error when submitting to the cluster.
>
> Is there something obvious that i am missing?
> Thanks for help!
> chen
>

Reply via email to