Return-Path: X-Original-To: apmail-flume-user-archive@www.apache.org Delivered-To: apmail-flume-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 5BA4110E4C for ; Mon, 22 Jul 2013 03:29:09 +0000 (UTC) Received: (qmail 86095 invoked by uid 500); 22 Jul 2013 03:29:09 -0000 Delivered-To: apmail-flume-user-archive@flume.apache.org Received: (qmail 85867 invoked by uid 500); 22 Jul 2013 03:29:02 -0000 Mailing-List: contact user-help@flume.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@flume.apache.org Delivered-To: mailing list user@flume.apache.org Received: (qmail 85844 invoked by uid 99); 22 Jul 2013 03:28:59 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 22 Jul 2013 03:28:59 +0000 X-ASF-Spam-Status: No, hits=-2.8 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_HI,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of prvs=9084fddc0=vikulkarni@expedia.com designates 216.251.112.223 as permitted sender) Received: from [216.251.112.223] (HELO mx1b.expedia.com) (216.251.112.223) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 22 Jul 2013 03:28:53 +0000 X-SRBS: None X-HAT: Sender Group RELAYLIST, Policy $RELAYED applied. X-MailPolicy: Default Outgoing Mail Policy Received: from unknown (HELO CHC-EXCHNA02.SEA.CORP.EXPECN.COM) ([10.184.69.26]) by mx1b.sea.corp.expecn.com with ESMTP; 21 Jul 2013 20:28:30 -0700 Received: from CHC-CCR01.SEA.CORP.EXPECN.COM ([10.184.69.22]) by CHC-EXCHNA02.SEA.CORP.EXPECN.COM ([10.184.69.26]) with mapi; Sun, 21 Jul 2013 20:28:30 -0700 From: Vikram Kulkarni To: "user@flume.apache.org" Date: Sun, 21 Jul 2013 20:28:29 -0700 Subject: Classpath issues Thread-Topic: Classpath issues Thread-Index: Ac6Gi4jZduNjMhlyRW2nRHRn5g1Xcg== Message-ID: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: user-agent: Microsoft-MacOutlook/14.3.5.130515 acceptlanguage: en-US Content-Type: multipart/alternative; boundary="_000_CE11F4ED21F5Avikulkarniexpediacom_" MIME-Version: 1.0 X-Virus-Checked: Checked by ClamAV on apache.org --_000_CE11F4ED21F5Avikulkarniexpediacom_ Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: quoted-printable I am running into some jar versioning problems while launching flume-ng on = my Mac. Basically, I am using certain methods from httpclient which are ava= ilable in a newer version of the jar which is actually in the Flume's lib f= older. However, I am using a HDFS sink and when I start eh node with =96d o= ption it prints the jars loaded and I can clearly see that it is picking up= a older httpclient jar from the Hadoop's lib folder. I don't want to replace jars, instead I want to be able to specify the path= to the jars from a particular location. I am using the following command to start flume-ng: (the highlighted path d= oes not get picked up) bin/flume-ng agent --conf-file conf/ppv1/flume-HdfsHttpFanOut.conf --name f= anoutagent -Dflume.root.logger=3DINFO,console --classpath '.:/usr/local/Cel= lar/flume-1.3.1/lib/*' Thanks, Vikram --_000_CE11F4ED21F5Avikulkarniexpediacom_ Content-Type: text/html; charset="Windows-1252" Content-Transfer-Encoding: quoted-printable
I am running into some jar vers= ioning problems while launching flume-ng on my Mac. Basically, I am using c= ertain methods from httpclient which are available in a newer version of th= e jar which is actually in the Flume's lib folder. However, I am using a HD= FS sink and when I start eh node with =96d option it prints the jars loaded= and I can clearly see that it is picking up a older httpclient jar from th= e Hadoop's lib folder.

I don't want to replace jar= s, instead I want to be able to specify the path to the jars from a particu= lar location. 
I am using the following command to start flu= me-ng: (the highlighted path does not get picked up)
bin/flume-ng= agent --conf-file conf/ppv1/flume-HdfsHttpFanOut.conf --name fanoutagent -= Dflume.root.logger=3DINFO,console --classpath '.:/usr/local/Cellar/flume-1.3.1/lib/*'
=

<= span style=3D"background-color: transparent;">Thanks,
Vikram
--_000_CE11F4ED21F5Avikulkarniexpediacom_--