Return-Path: Delivered-To: apmail-hadoop-core-user-archive@www.apache.org Received: (qmail 21380 invoked from network); 3 Apr 2008 18:40:58 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 3 Apr 2008 18:40:58 -0000 Received: (qmail 42284 invoked by uid 500); 3 Apr 2008 18:40:54 -0000 Delivered-To: apmail-hadoop-core-user-archive@hadoop.apache.org Received: (qmail 42253 invoked by uid 500); 3 Apr 2008 18:40:54 -0000 Mailing-List: contact core-user-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: core-user@hadoop.apache.org Delivered-To: mailing list core-user@hadoop.apache.org Received: (qmail 42243 invoked by uid 99); 3 Apr 2008 18:40:54 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 Apr 2008 11:40:54 -0700 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [69.147.84.88] (HELO omp204.mail.sp1.yahoo.com) (69.147.84.88) by apache.org (qpsmtpd/0.29) with SMTP; Thu, 03 Apr 2008 18:40:12 +0000 Received: (qmail 7539 invoked by uid 1000); 3 Apr 2008 18:36:08 -0000 Received: (qmail 62174 invoked by uid 60001); 3 Apr 2008 18:36:08 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-ID; b=VEAd68HXbTRo36owfb8IYQaCFLdfG61Y37sjT08m5sR5/fVNkVKI8gs7AN8xVM4RKtrMKMrMjhoCKG1dvXh/v1PvV8q6Uljm7EReQA1AaukDLujjCuWZgRSSseqOINVbyUdPcH+G6S39mpfqmOPKRelm3MOj6umoRjnge9u1zzY=; X-YMail-OSG: 2YQLMQQVM1kjcRx9ZLWZHgAgiK1TI1R0l27N8VnCdUk1d3LSZ0Be2DR.86ClZ8CFfRQq2LyEefKeVFw8kyXY2SpxjntKRpC.8sY- Received: from [67.80.218.78] by web45413.mail.sp1.yahoo.com via HTTP; Thu, 03 Apr 2008 11:36:08 PDT Date: Thu, 3 Apr 2008 11:36:08 -0700 (PDT) From: C G Subject: Re: Quick jar deployment question... To: core-user@hadoop.apache.org In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="0-532028685-1207247768=:61482" Content-Transfer-Encoding: 8bit Message-ID: <300923.61482.qm@web45413.mail.sp1.yahoo.com> X-Virus-Checked: Checked by ClamAV on apache.org --0-532028685-1207247768=:61482 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Yeah, everything is packaged into one jar...I've been copying those jars everywhere which didn't seem right, hence the question. Thanks, C G Ted Dunning wrote: The easiest way is to package all of your code (classes and jars) into a single jar file which you then execute. When you instantiate a JobClient and run a job, your jar gets copied to all necessary nodes. The machine you use to launch the job need not even be in the cluster, just able to see the cluster. On 4/3/08 11:23 AM, "C G" wrote: > Hi All: > > When deploying a jar file containing code for a Hadoop job, is it necessary > to copy the jar to the same path on all nodes in the grid, or just on the node > which will launch the job? > > Thanks, > C G > > > > --------------------------------- > You rock. That's why Blockbuster's offering you one month of Blockbuster Total > Access, No Cost. --------------------------------- You rock. That's why Blockbuster's offering you one month of Blockbuster Total Access, No Cost. --0-532028685-1207247768=:61482--