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 7FF7C109BF for ; Thu, 6 Feb 2014 22:39:04 +0000 (UTC) Received: (qmail 72061 invoked by uid 500); 6 Feb 2014 22:39:04 -0000 Delivered-To: apmail-storm-user-archive@storm.apache.org Received: (qmail 72035 invoked by uid 500); 6 Feb 2014 22:39:03 -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 72027 invoked by uid 99); 6 Feb 2014 22:39:03 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 06 Feb 2014 22:39:03 +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 michael@fullcontact.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; Thu, 06 Feb 2014 22:38:59 +0000 Received: by mail-qc0-f176.google.com with SMTP id e16so4467878qcx.35 for ; Thu, 06 Feb 2014 14:38:38 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; bh=/zswtFZeixSUxCS/g1zXWB76rGFMuJjTu3QpMt67Sy0=; b=icFIcM697/oGkhC6pBWjZ+s3MjYQChbw9tz+i0S5OiGKZ6LbETbg6miy3/b5Yx+eUB CqLlfkl6W5C8f4GJGYGy2nlixTv/0OfRQ7TUZ2opfuxlgDvG48cEtKSzdnKBPe1e5Qr5 +xifP6KGLsQsFMVEjs4xrO+q16HBE2E3q9rRae4kDeXC0D+IsGacN1liGOOsrdfduzW+ ZkoVPtJ8uUeQh/WHQ5Dx+s8PfbVuqeltLyIqnILyfCArJCbwPx0IrYQ4KCWea+pX+MdD Tty0dA2zlutVJ5k46eIPmBZOvbmPceHRt9ghz5mJ7Qz7QDuxJfE235k7gdC6+IxM3Whf 6ZRg== X-Gm-Message-State: ALoCoQmG+L/JEbRp0l1J40MMVvxPD9eH17LkJRLt3tNlEC5B8nxgdCh6tsD1rgAw3h0k40ndCZEv MIME-Version: 1.0 X-Received: by 10.140.109.72 with SMTP id k66mr15410851qgf.20.1391726318623; Thu, 06 Feb 2014 14:38:38 -0800 (PST) Received: by 10.96.42.97 with HTTP; Thu, 6 Feb 2014 14:38:38 -0800 (PST) In-Reply-To: References: <62C4B740-3DF3-4D48-8664-6BFBE86388C7@gmail.com> Date: Thu, 6 Feb 2014 15:38:38 -0700 Message-ID: Subject: Re: http-client version conflict From: Michael Rose To: user@storm.incubator.apache.org Content-Type: multipart/alternative; boundary=001a1139b03ed8b75a04f1c488ff X-Virus-Checked: Checked by ClamAV on apache.org --001a1139b03ed8b75a04f1c488ff Content-Type: text/plain; charset=ISO-8859-1 We've done this with SLF4j and Guava as well without issues. Michael Rose (@Xorlev ) Senior Platform Engineer, FullContact michael@fullcontact.com On Thu, Feb 6, 2014 at 3:03 PM, Mark Greene wrote: > We had this problem as well. We modified our chef cookbook to just replace > the older version with the newer one and storm didn't complain or have any > other issues as a result. > > > On Wed, Feb 5, 2014 at 10:31 AM, P. Taylor Goetz wrote: > >> Your best bet is probably to use the shade plugin to relocate the >> http-client package so it doesn't conflict with the version storm uses. >> >> Storm does this with the libtrhift dependency in storm-core: >> >> >> https://github.com/apache/incubator-storm/blob/master/storm-core/pom.xml#L220 >> >> (You can ignore the clojure transformer in that config, unless you have >> non-AOT clojure code that uses the http-client library). >> >> More information on using the shade plugin to do package relocations can >> be found here: >> >> >> http://maven.apache.org/plugins/maven-shade-plugin/examples/class-relocation.html >> >> - Taylor >> >> On Feb 4, 2014, at 4:27 PM, Vinay Pothnis >> wrote: >> >> > Hello, >> > >> > I am using storm version 0.9.0.1. >> > My application depends on apache http-client version 4.3.2 - but storm >> depends on http-client version 4.1.1. >> > >> > What is the best way to override this dependency? >> > >> > Thanks >> > Vinay >> >> > --001a1139b03ed8b75a04f1c488ff Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
We've done this with SLF4j and Guava as well without i= ssues.

Michael Rose (@= Xorlev)
Senior Platform Engineer, FullContact
michael@fullcontact.com<= /p>



On Thu, Feb 6, 2014 at 3:03 PM, Mark Gre= ene <mark@evertrue.com> wrote:
We had this problem as well. We modified our chef cookbook= to just replace the older version with the newer one and storm didn't = complain or have any other issues as a result.
<= div class=3D"h5">


On Wed, Feb 5, 2014 at 10:31 AM, P. Tayl= or Goetz <ptgoetz@gmail.com> wrote:
Your best bet is probably  to use the shade plugin to relocate the htt= p-client package so it doesn’t conflict with the version storm uses.<= br>
Storm does this with the libtrhift dependency in storm-core:

https://github.com/apache/incubator-storm/= blob/master/storm-core/pom.xml#L220

(You can ignore the clojure transformer in that config, unless you have non= -AOT clojure code that uses the http-client library).

More information on using the shade plugin to do package relocations can be= found here:

http://maven.apache.org/plugins/maven-= shade-plugin/examples/class-relocation.html

- Taylor

On Feb 4, 2014, at 4:27 PM, Vinay Pothnis <vinay.pothnis@gmail.com> wrote:

> Hello,
>
> I am using storm version 0.9.0.1.
> My application depends on apache http-client version 4.3.2 - but storm= depends on http-client version 4.1.1.
>
> What is the best way to override this dependency?
>
> Thanks
> Vinay



--001a1139b03ed8b75a04f1c488ff--