Return-Path: Delivered-To: apmail-hadoop-core-user-archive@www.apache.org Received: (qmail 6827 invoked from network); 3 Apr 2008 21:05:34 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 3 Apr 2008 21:05:34 -0000 Received: (qmail 9341 invoked by uid 500); 3 Apr 2008 21:05:26 -0000 Delivered-To: apmail-hadoop-core-user-archive@hadoop.apache.org Received: (qmail 9293 invoked by uid 500); 3 Apr 2008 21:05:25 -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 9255 invoked by uid 99); 3 Apr 2008 21:05:25 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 Apr 2008 14:05:25 -0700 X-ASF-Spam-Status: No, hits=4.4 required=10.0 tests=DNS_FROM_OPENWHOIS,HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [216.98.159.230] (HELO zimbra1.mindcentric.com) (216.98.159.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 Apr 2008 21:04:34 +0000 Received: from localhost.localdomain (h-66-134-40-164.snvacaid.covad.net [66.134.40.164]) by zimbra1.mindcentric.com (Postfix) with ESMTP id 0B0F551E01E0 for ; Thu, 3 Apr 2008 14:04:19 -0700 (PDT) Message-ID: <47F54674.3060302@attributor.com> Date: Thu, 03 Apr 2008 14:04:52 -0700 From: Jason Venner User-Agent: Thunderbird 2.0.0.12 (X11/20080226) MIME-Version: 1.0 To: core-user@hadoop.apache.org Subject: Re: Quick jar deployment question... References: In-Reply-To: Content-Type: multipart/alternative; boundary="------------080200070604050806030904" X-Virus-Checked: Checked by ClamAV on apache.org --------------080200070604050806030904 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit This only happens if you add a class from the jar to the JobConf creation line. JobConf conf = new JobConf(MyClass.class); JobConf public JobConf(Class exampleClass) Construct a map/reduce job configuration. Parameters: exampleClass - a class whose containing jar is used as the job's jar. 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. >> > > --------------080200070604050806030904--