Return-Path: Delivered-To: apmail-hadoop-core-user-archive@www.apache.org Received: (qmail 49686 invoked from network); 8 Dec 2008 07:30:13 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 8 Dec 2008 07:30:13 -0000 Received: (qmail 86511 invoked by uid 500); 8 Dec 2008 07:30:20 -0000 Delivered-To: apmail-hadoop-core-user-archive@hadoop.apache.org Received: (qmail 86090 invoked by uid 500); 8 Dec 2008 07:30:19 -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 86079 invoked by uid 99); 8 Dec 2008 07:30:19 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 07 Dec 2008 23:30:19 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of redpony@gmail.com designates 74.125.92.26 as permitted sender) Received: from [74.125.92.26] (HELO qw-out-2122.google.com) (74.125.92.26) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 08 Dec 2008 07:30:05 +0000 Received: by qw-out-2122.google.com with SMTP id 3so223395qwe.35 for ; Sun, 07 Dec 2008 23:29:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:sender :to:subject:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references :x-google-sender-auth; bh=JMl33dqO/kMZntJZmb6KZB70iAwB6x3sIDo4gIoYECI=; b=ZNZAWBkmL9NtQOUfWHpAe2O7nzl1qDooc/n2TXx9nazJ4zDUv4Kn1lTJkziXvSFXct XB7/f2IYOBo7ebOeMjieO57DYhgNVRrJWVUm5g+R3p96dGev902BE+ETz1eUhgA7uCQh CZYb8AlBkDhmEHhpvfBA9qcM4cCpjN7L/H7AQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:sender:to:subject:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references:x-google-sender-auth; b=WDaDGZxv2Dgiwb1vO5z3czuIyvsSW+DYDzjXpEKuBEBPFpUoey3YeJWaCIBEAdTySo Vh4kaAU823q4ehalYvvSuJn3xzPD5Yj74jiAthx3gUXyTLetPdGY+Cslnrjp/Qam1WPr fRSY2pfM5p4dpQ/KdSf7WH80Ga1cWlRPHc1Dk= Received: by 10.214.78.17 with SMTP id a17mr1959098qab.141.1228721384644; Sun, 07 Dec 2008 23:29:44 -0800 (PST) Received: by 10.214.181.16 with HTTP; Sun, 7 Dec 2008 23:29:44 -0800 (PST) Message-ID: Date: Mon, 8 Dec 2008 02:29:44 -0500 From: "Chris Dyer" Sender: redpony@gmail.com To: core-user@hadoop.apache.org Subject: Re: Run Map-Reduce multiple times In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: X-Google-Sender-Auth: 7dd62d378c6633a6 X-Virus-Checked: Checked by ClamAV on apache.org Hey Delip- mapreduce doesn't really have any particular support for iterative algorithms. You just have to put a loop in the control program and set the output path from the previous iteration to be the input path in the next iteration. This at least lets you control whether you decide to keep around results of intermediate iterations or erase them... -Chris On Mon, Dec 8, 2008 at 1:25 AM, Delip Rao wrote: > Hi, > > I need to run my map-reduce routines for several iterations so that > the output of an iteration becomes the input to the next iteration. Is > there a standard pattern to do this instead of calling > JobClient.runJob() in a loop? > > Thanks, > Delip >