storm-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Flávio Granato <flavio.gran...@gmail.com>
Subject Re: Is there a way to add a custom jar (or directory of jars) to the Storm classpath without copying the jar(s) to Storm lib folder
Date Fri, 07 Feb 2014 16:17:18 GMT
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
> 
> 


Mime
View raw message