Hi Vinoth,
As said by Bijoy, travelling with jar-with-dependencies within network is
not something wise.
So i belief best way to resolve the problem for now is to place the jars
within $STORM_HOME/lib/ kkeping in mind the storm core dependencies.
Thanks
On Fri, Feb 7, 2014 at 9:47 PM, Flávio Granato <flavio.granato@gmail.com>wrote:
> if you using gradle, use the plugin fatJar... :-)
>
>
> On 07-02-2014 14:00, bijoy deb wrote:
> > Hi,
> >
> > My topology jar with all the dependencies is going to be a huge one,so I
> > am bit hesitant to deploy it using storm.
> >
> > Best thing would have been if I could put all the dependent third party
> > jars to some shared mount that is shared across all the machines in my
> > cluster.
> >
> > Thanks
> > Bijoy
> >
> >
> > On Fri, Feb 7, 2014 at 8:45 PM, P. Taylor Goetz <ptgoetz@gmail.com
> > <mailto:ptgoetz@gmail.com>> wrote:
> >
> > Bijoy,
> >
> > Out of curiosity, why can't you bundle your dependencies with the
> > topology jar?
> >
> > If you have to then you can put your topology dependencies in
> > $STORM_HOME/lib, but you should be careful with replacing Storm's
> > core dependencies since it could lead to unpredictable results.
> >
> > - Taylor
> >
> > On Feb 7, 2014, at 8:48 AM, bijoy deb <bijoy.computers@gmail.com
> > <mailto:bijoy.computers@gmail.com>> wrote:
> >
> > > Hi,
> > >
> > > Is there any way to add a specific directory to the Storm
> > classpath rather than copying the required jars to Storm lib
> > directory.For me,bundling the required jars with the actual topology
> > jar is not an option?
> > >
> > > Can I add a directory (of jars) into the Storm lib rather than
> > copying the actual jar files there?
> > >
> > >
> > > Thanks
> > > Bijoy
> >
> >
>
>
|