Return-Path: Delivered-To: apmail-hadoop-mapreduce-user-archive@minotaur.apache.org Received: (qmail 12159 invoked from network); 27 May 2010 15:27:27 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 27 May 2010 15:27:27 -0000 Received: (qmail 98490 invoked by uid 500); 27 May 2010 15:27:27 -0000 Delivered-To: apmail-hadoop-mapreduce-user-archive@hadoop.apache.org Received: (qmail 98437 invoked by uid 500); 27 May 2010 15:27:26 -0000 Mailing-List: contact mapreduce-user-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: mapreduce-user@hadoop.apache.org Delivered-To: mailing list mapreduce-user@hadoop.apache.org Received: (qmail 98426 invoked by uid 99); 27 May 2010 15:27:26 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 27 May 2010 15:27:26 +0000 X-ASF-Spam-Status: No, hits=0.7 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [74.125.82.51] (HELO mail-ww0-f51.google.com) (74.125.82.51) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 27 May 2010 15:27:20 +0000 Received: by wwg30 with SMTP id 30so61571wwg.38 for ; Thu, 27 May 2010 08:26:59 -0700 (PDT) MIME-Version: 1.0 Received: by 10.216.172.85 with SMTP id s63mr156571wel.22.1274974019331; Thu, 27 May 2010 08:26:59 -0700 (PDT) Received: by 10.216.80.14 with HTTP; Thu, 27 May 2010 08:26:59 -0700 (PDT) In-Reply-To: <4BFE2638.30007@synechron.com> References: <4BFE2638.30007@synechron.com> Date: Thu, 27 May 2010 11:26:59 -0400 Message-ID: Subject: Re: Running Mapreduce program apart from command prompt From: Eric Sammer To: mapreduce-user@hadoop.apache.org, nishants@synechron.com Content-Type: text/plain; charset=ISO-8859-1 X-Virus-Checked: Checked by ClamAV on apache.org Nishant: You can submit jobs from any java program provided you have the Hadoop jars and configuration directory in your classpath. This is done with the normal JobClient class. On Thu, May 27, 2010 at 3:58 AM, Nishant Sonar wrote: > Hello > > I have a requirement where i need to run the mapreduce program from another > java program. I need some mechanism for submitting the job not from the > command line but some other java program should launch the job. > > Nishant Sonar > -- Eric Sammer phone: +1-917-287-2675 twitter: esammer data: www.cloudera.com