From user-return-835-apmail-storm-user-archive=storm.apache.org@storm.incubator.apache.org Fri Feb 7 16:01:12 2014 Return-Path: X-Original-To: apmail-storm-user-archive@minotaur.apache.org Delivered-To: apmail-storm-user-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 2D19510AE2 for ; Fri, 7 Feb 2014 16:01:12 +0000 (UTC) Received: (qmail 83641 invoked by uid 500); 7 Feb 2014 16:01:11 -0000 Delivered-To: apmail-storm-user-archive@storm.apache.org Received: (qmail 83588 invoked by uid 500); 7 Feb 2014 16:01:11 -0000 Mailing-List: contact user-help@storm.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@storm.incubator.apache.org Delivered-To: mailing list user@storm.incubator.apache.org Received: (qmail 83580 invoked by uid 99); 7 Feb 2014 16:01:11 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 07 Feb 2014 16:01:11 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of bijoy.computers@gmail.com designates 209.85.216.176 as permitted sender) Received: from [209.85.216.176] (HELO mail-qc0-f176.google.com) (209.85.216.176) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 07 Feb 2014 16:01:06 +0000 Received: by mail-qc0-f176.google.com with SMTP id e16so6170129qcx.21 for ; Fri, 07 Feb 2014 08:00:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=c/dN+WDh+0Bniko4wwg32Zm+t8lfdgzL1EXoTJqJR5o=; b=cEDnWI1dcRY27agyKooSYK9h95uWAK7eD/Ulf2locelBFk5nFEij/uF5lydogT8gpv x1MCgkVd6IUuY2Tm6DTWTaVwRPcXd1qs/DWDj3MMvZZDcXCgtkC5LOqN+hK0tTdLzyyQ zPROu9TRJyVSQk7A5lhN5ahZTe5sRA/jWpXQbpHkql+DA34G+gMt+QVyiEHbJUVIcFoN IeGcexiQxTEB2hR4x4H2oLkup92C35C52Bi3k/RIrl8Pv2VMtZ2u4AJ0iuEUJdzH6bOR 7XQLiRFsdZec+yCrQjexEme9MxhAtHiNBvrg3ksVtKv2qhOi3ed3+rKkO/jucybcB2ac M9uQ== MIME-Version: 1.0 X-Received: by 10.140.92.54 with SMTP id a51mr17673072qge.111.1391788841340; Fri, 07 Feb 2014 08:00:41 -0800 (PST) Received: by 10.140.49.232 with HTTP; Fri, 7 Feb 2014 08:00:41 -0800 (PST) In-Reply-To: References: Date: Fri, 7 Feb 2014 21:30:41 +0530 Message-ID: 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 From: bijoy deb To: user@storm.incubator.apache.org Content-Type: multipart/alternative; boundary=001a113ab97a7d94a004f1d31743 X-Virus-Checked: Checked by ClamAV on apache.org --001a113ab97a7d94a004f1d31743 Content-Type: text/plain; charset=ISO-8859-1 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 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 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 > > --001a113ab97a7d94a004f1d31743 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
Hi,

My topology jar with all the depend= encies is going to be a huge one,so I am bit hesitant to deploy it using st= orm.

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> wrote:
Bijoy,

Out of curiosity, why can’t you bundle your dependencies with the top= ology jar?

If you have to then you can put your topology dependencies in $STORM_HOME/l= ib, but you should be careful with replacing Storm’s core dependencie= s since it could lead to unpredictable results.

- Taylor

On Feb 7, 2014, at 8:48 AM, bijoy deb <bijoy.computers@gmail.com> wrote:

> Hi,
>
> Is there any way to add a specific directory to the Storm classpath ra= ther 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


--001a113ab97a7d94a004f1d31743--