Return-Path: Delivered-To: apmail-hadoop-common-user-archive@www.apache.org Received: (qmail 35515 invoked from network); 28 Jul 2009 19:54:59 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 28 Jul 2009 19:54:59 -0000 Received: (qmail 71521 invoked by uid 500); 28 Jul 2009 19:54:57 -0000 Delivered-To: apmail-hadoop-common-user-archive@hadoop.apache.org Received: (qmail 71437 invoked by uid 500); 28 Jul 2009 19:54:57 -0000 Mailing-List: contact common-user-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: common-user@hadoop.apache.org Delivered-To: mailing list common-user@hadoop.apache.org Received: (qmail 71427 invoked by uid 99); 28 Jul 2009 19:54:57 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 28 Jul 2009 19:54:57 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of markkerzner@gmail.com designates 209.85.220.205 as permitted sender) Received: from [209.85.220.205] (HELO mail-fx0-f205.google.com) (209.85.220.205) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 28 Jul 2009 19:54:46 +0000 Received: by fxm1 with SMTP id 1so282167fxm.29 for ; Tue, 28 Jul 2009 12:54:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type; bh=gq6EjdVZXVmZ/Tu4Zf1QsR4ksHFYqfTotcN+UeUl8sw=; b=hymcGtR7YKbIcOVTpcnPZskJxSJaKpGW0Jj8RAwbv+zOwf1TeE6M0JoqvgiH74GQMF aVqkT2q+8BADPMoFEJO3osOFqzwI456UHa9U36X5xi+r4kPYZQAS9zO/smfi3a85R/EU 6cl9tTI1g0lcGxhSValbKyVMbFOSiDcE+i29s= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=H7aZtx1lBOJfqHJATo8ykWyMsVWeDK8wTsgVutuXztstFUz1q5Sk6FNDdwsm8C4Jm6 Gt+CnYyp6id74+XpsilD37f8DKGe69UBPySZLQdenG9i21n02bEYU+gYbfhZXRjLiW2F GyZky0K8jkkJk6G8v2RuV5QdMn2dM8gbN0pvY= MIME-Version: 1.0 Received: by 10.239.164.129 with SMTP id t1mr761391hbd.172.1248810866345; Tue, 28 Jul 2009 12:54:26 -0700 (PDT) In-Reply-To: References: <32120a6a0907281225i54804245xb8b9d7f36c1fb85a@mail.gmail.com> Date: Tue, 28 Jul 2009 14:54:26 -0500 Message-ID: Subject: Re: Giving additional jars to my job From: Mark Kerzner To: common-user@hadoop.apache.org Content-Type: multipart/alternative; boundary=001485f3b96a1486ff046fc97030 X-Virus-Checked: Checked by ClamAV on apache.org --001485f3b96a1486ff046fc97030 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit By the way, could you recommend a script for packaging up the jar with all dependencies? On Tue, Jul 28, 2009 at 2:28 PM, Mark Kerzner wrote: > I am leaning towards packaging; I see this to be the simplest > > > On Tue, Jul 28, 2009 at 2:25 PM, tim robertson wrote: > >> A couple of ways I know of is to add them to the Hadoop classpath >> itself in the env.sh or to package up your jar with all it's >> dependencies. The later is the approach I take. >> >> Cheers >> >> Tim >> >> >> On Tue, Jul 28, 2009 at 8:20 PM, Mark Kerzner >> wrote: >> > Hi, >> > take for example this line >> > >> > bin/hadoop jar /usr/joe/wordcount.jar org.myorg.WordCount >> > /usr/joe/wordcount/input /usr/joe/wordcount/output >> > >> > How do I give additional jars? >> > >> > Thank you, >> > Mark >> > >> > > --001485f3b96a1486ff046fc97030--