Return-Path: Delivered-To: apmail-hadoop-common-user-archive@www.apache.org Received: (qmail 20843 invoked from network); 2 Jul 2010 06:05:59 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 2 Jul 2010 06:05:59 -0000 Received: (qmail 90745 invoked by uid 500); 2 Jul 2010 06:05:57 -0000 Delivered-To: apmail-hadoop-common-user-archive@hadoop.apache.org Received: (qmail 90152 invoked by uid 500); 2 Jul 2010 06:05:52 -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 90144 invoked by uid 99); 2 Jul 2010 06:05:51 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 02 Jul 2010 06:05:51 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=FREEMAIL_FROM,HTML_MESSAGE,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of pramybhats@googlemail.com designates 74.125.82.176 as permitted sender) Received: from [74.125.82.176] (HELO mail-wy0-f176.google.com) (74.125.82.176) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 02 Jul 2010 06:05:45 +0000 Received: by wyb29 with SMTP id 29so2345175wyb.35 for ; Thu, 01 Jul 2010 23:05:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:content-type; bh=IZ6WWjTucdNkleTz3ydq/BiYJHGYfXKgJkb6lv977eM=; b=CXwk/gkjVD8TdXGw0Lae9WCauPoyZ4pl2rgPuSG/2vIm6oLNaMKVvSIDOx8b6R/6eE sKV25LoB9qFpsBF0tpMLypWoPGNGPKEPIKjufN2X5zEGVnXtSyXDK8CAiLMEDiPe4YZd mW1jBbIvii1ClTjOuPgqDbxHGR3XPJSDFNZ4I= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=iA0mdxEKCHiTykZvjWTsqSIyJ8p/IQDirLomMmxGdh2CKe8GOOKRrcLNt22boyLrGv EuXFqJdSJpo9PGfg/y3QUCvI75n9Dpexwi44+FgXYfqapFj5i2/NjfFCxRGyT/bKcWQF cGCCjSZp4H4bi1OhARQYrgp1qKHvqsPJ0Uisg= MIME-Version: 1.0 Received: by 10.227.137.208 with SMTP id x16mr130854wbt.36.1278050725349; Thu, 01 Jul 2010 23:05:25 -0700 (PDT) Received: by 10.227.146.130 with HTTP; Thu, 1 Jul 2010 23:05:25 -0700 (PDT) In-Reply-To: References: Date: Fri, 2 Jul 2010 08:05:25 +0200 Message-ID: Subject: Re: Intermediate files generated. From: Pramy Bhats To: common-user@hadoop.apache.org Content-Type: multipart/alternative; boundary=0016e657b25a7d4b8c048a615f93 X-Virus-Checked: Checked by ClamAV on apache.org --0016e657b25a7d4b8c048a615f93 Content-Type: text/plain; charset=ISO-8859-1 Hi Hemanth, I need to use the output of the mapper for some other application. As a result, if I can redirect the output of the map in temp files of my choice (which are stored on hdfs) then i can reuse the output later. At the same time, the succeeding reducer can read the input from this temp files without any overhead. thanks, --PB On Fri, Jul 2, 2010 at 3:52 AM, Hemanth Yamijala wrote: > Alex, > > > I don't think this is what I am looking for. Essential, I wish to run > both > > mapper as well as reducer. But at the same time, i wish to make sure that > > the temp files that are used between mappers and reducers are of my > choice. > > Here, the choice means that I can specify the files in HDFS that can be > used > > as temp files. > > Could you explain why you want to do this ? > > > > > thanks, > > --PB. > > > > On Fri, Jul 2, 2010 at 12:14 AM, Alex Loddengaard > wrote: > > > >> You could use the HDFS API from within your mapper, and run with 0 > >> reducers. > >> > >> Alex > >> > >> On Thu, Jul 1, 2010 at 3:07 PM, Pramy Bhats >> >wrote: > >> > >> > Hi, > >> > > >> > I am using hadoop framework for writing MapReduce jobs. I want to > >> redirect > >> > the output of Map into files of my choice and later use those files as > >> > input > >> > for Reduce phase. > >> > > >> > > >> > Could you please suggest, how to proceed for it ? > >> > > >> > thanks, > >> > --PB. > >> > > >> > > > --0016e657b25a7d4b8c048a615f93--