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 9FD1618437 for ; Thu, 4 Feb 2016 11:50:42 +0000 (UTC) Received: (qmail 61539 invoked by uid 500); 4 Feb 2016 11:50:41 -0000 Delivered-To: apmail-storm-user-archive@storm.apache.org Received: (qmail 61500 invoked by uid 500); 4 Feb 2016 11:50:41 -0000 Mailing-List: contact user-help@storm.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@storm.apache.org Delivered-To: mailing list user@storm.apache.org Received: (qmail 61490 invoked by uid 99); 4 Feb 2016 11:50:41 -0000 Received: from Unknown (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 04 Feb 2016 11:50:41 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id 32088C20FE for ; Thu, 4 Feb 2016 11:50:41 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.198 X-Spam-Level: * X-Spam-Status: No, score=1.198 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=2, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd1-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-eu-west.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id eMLmKy4fpRsV for ; Thu, 4 Feb 2016 11:50:40 +0000 (UTC) Received: from mail-io0-f179.google.com (mail-io0-f179.google.com [209.85.223.179]) by mx1-eu-west.apache.org (ASF Mail Server at mx1-eu-west.apache.org) with ESMTPS id 4A6EE31ACC for ; Thu, 4 Feb 2016 11:50:39 +0000 (UTC) Received: by mail-io0-f179.google.com with SMTP id f81so89502954iof.0 for ; Thu, 04 Feb 2016 03:50:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=4X8+NPP62QFNsrXeoEIXQ8C2JJABJotWJCGsm5tf9Qc=; b=iOuuFKV7aQE2U2otfLTzEQkk07kNUFQHG7g+wJKHN03xFFU/hquEKeDb6Q5Ar0/SZ2 NdZ4i4A1VPi3jiioZbCvucQhBmyy64Q/SHWql727D6I5ImxnFWfZggoKdH1IxgWnNsrx 33Ct6FTbFnBcdCSSUvHqH+3joMG6Wy4eKwE1Ny+Exuq8Q9XMETTseY/3xPhM1cnKY8DD 9KfOKw7kx5iaohOf5PbwHKUncD/L8AV6leZYuS9ALtJTynxI1sWmfoYDq951b+GF2690 4gAFO9Y5Txk54iWA79ziXdy4w0dItWu1e7kdTXanV/YOCl8VBsHIsZIeWZQx5Ra3jJMe ZWSg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:date:message-id:subject:from:to :content-type; bh=4X8+NPP62QFNsrXeoEIXQ8C2JJABJotWJCGsm5tf9Qc=; b=Q7kuwHaH17c6v+hb6mfbD3+mmSeZM06MHOQZVc+ASKAHEhHhAZxXsxzkwFUen76MSA JDmqNSn4tDh5fs5USTyC0yUbu777xgnSFu03WI17AeoDuZN9A7N5k9xzqMZIxR2JKbo9 /jijp1/rJC6S1jX6R4izZwC0VoI6sBXIMjlolUMTHmSCOxTVL0gyjSrkAWHPtpEF6Mk/ I9JJIzy++Q/SSCxg3MALax5F+Z8wR9ql0ywDA07dp9bT1IFC8cKKMZUXUUelTmoQQ4On 1fV5ulZioNjnC6F0lhTNlVXSrplOE16Y1rRYZXphVajksvs1/aurW3EYsZZTJ3H5Ceim vjew== X-Gm-Message-State: AG10YOQg3wfWGcmC7g3tvt7WCAnSK5FvN+wj7W0ycE5sE2/OqMgtzoZdPFMkEjjbgZ2z3hDnKb1oFJzoP222XA== MIME-Version: 1.0 X-Received: by 10.107.10.157 with SMTP id 29mr9599541iok.133.1454586638149; Thu, 04 Feb 2016 03:50:38 -0800 (PST) Received: by 10.107.164.227 with HTTP; Thu, 4 Feb 2016 03:50:38 -0800 (PST) Date: Thu, 4 Feb 2016 13:50:38 +0200 Message-ID: Subject: Big fat jar From: Spico Florin To: "user@storm.incubator.apache.org" Content-Type: multipart/alternative; boundary=001a113f8df8dcaee1052af0571b --001a113f8df8dcaee1052af0571b Content-Type: text/plain; charset=UTF-8 Hello! After building my project that comtaint the topology, I have a big fat jar of 75MB. I have dependencies on HBase, OpenTSDB and Kafka. I would like to reduce the size of the the jar due to the fact that we can a lot of instances of the topology running (aprox 100). I have read in two posts: http://qnalist.com/questions/4712134/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 and http://programmers.stackexchange.com/questions/238711/why-does-storm-not-supply-a-mechanism-for-supplying-topology-necessary-dependent I found two solutions. One is to put the commons libararies in Storm_install_dir/lib and the second one is to put them in folder USER_CONF_DIR defined in storm.yaml. In both acases we should take care to keep a single version of dependent libraries. This could be a potential issue, due to the fact that their might be common libraries that can interfere with storm libraries (such as zookeeper or appache-commons). Also, I'm running Storm from Ambari. In the above scenario: - what could be the best solution to keep the common dependent libraries? - If I configure the USER_CONF_DIR in Ambari will it be propagated to all cluster machines? I look forward for your answers. Thanks . Florin --001a113f8df8dcaee1052af0571b Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hello!
=C2=A0 After building my project that comtaint = the topology, I have a big fat jar of 75MB. I have dependencies on HBase, O= penTSDB and Kafka. I would like to reduce the size of the the jar due to th= e fact that we can a lot of instances of the topology running (aprox 100).<= /div>

I have read in two posts:
and=C2=A0

I found = two solutions.
One is to put the commons libararies in Storm_inst= all_dir/lib =C2=A0 and the second one is to put them in folder=C2=A0USER_CO= NF_DIR defined in storm.yaml. In both acases we should take care to keep a = single version of dependent libraries. This could be a potential issue, due= to the fact that their might be common libraries that can interfere with s= torm libraries (such as zookeeper or appache-commons).
=C2=A0Also= , I'm running Storm from Ambari.
=C2=A0
In the abov= e scenario:
- what could be the best solution to keep the common = dependent libraries?
- If I configure the USER_CONF_DIR in Ambari= will it be propagated to all cluster machines?

I = look forward for your answers.
Thanks .
=C2=A0Florin
--001a113f8df8dcaee1052af0571b--