Return-Path: X-Original-To: apmail-hadoop-mapreduce-user-archive@minotaur.apache.org Delivered-To: apmail-hadoop-mapreduce-user-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 71511F11C for ; Sat, 20 Apr 2013 16:04:48 +0000 (UTC) Received: (qmail 66016 invoked by uid 500); 20 Apr 2013 16:04:43 -0000 Delivered-To: apmail-hadoop-mapreduce-user-archive@hadoop.apache.org Received: (qmail 65745 invoked by uid 500); 20 Apr 2013 16:04:43 -0000 Mailing-List: contact user-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@hadoop.apache.org Delivered-To: mailing list user@hadoop.apache.org Received: (qmail 65738 invoked by uid 99); 20 Apr 2013 16:04:43 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 20 Apr 2013 16:04:43 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW X-Spam-Check-By: apache.org Received-SPF: error (athena.apache.org: local policy) Received: from [209.85.219.45] (HELO mail-oa0-f45.google.com) (209.85.219.45) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 20 Apr 2013 16:04:38 +0000 Received: by mail-oa0-f45.google.com with SMTP id o17so4662774oag.18 for ; Sat, 20 Apr 2013 09:03:57 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:content-type:x-gm-message-state; bh=rOpEbCanNFrqOqE7j4vbrS18IylVZ7//M2rBLdC7cqA=; b=gnG3+XftOHvwvOAxWgbQsRW3bTrQcV3zYlEOnQBaXDT1Ub4j9+gdczWoqYYPoM4oor FKtjkU1DIpQrRH3YwVaP1tFdl8mi1jTM3JNNk5G1s0WefDXc9HeECGz4KRl1YOU8YMhv BNsUEy8/X3JFTj+EKoK3S0g/I6w75ETvbgy0JXXyjJlcllfOZHvO9irudHo4Sy84sLa9 uDbrUXyTZ9EgC2wFvjXcDNN/FHTpu0Icm7LaJpMqcg5YojFRNtet7/x6Tm8DLr8Q90YI +n1VaWjoU+O50sd/VMXMbiXCUT59h4Vz3BucKaHai6w0cXtPQ0aZ12guUEiNR+5K/+nT jUBw== MIME-Version: 1.0 X-Received: by 10.182.128.105 with SMTP id nn9mr6123328obb.10.1366473837346; Sat, 20 Apr 2013 09:03:57 -0700 (PDT) Received: by 10.76.116.134 with HTTP; Sat, 20 Apr 2013 09:03:57 -0700 (PDT) In-Reply-To: References: Date: Sat, 20 Apr 2013 09:03:57 -0700 Message-ID: Subject: Re: Writing intermediate key,value pairs to file and read it again From: Rishi Yadav To: user@hadoop.apache.org Content-Type: multipart/alternative; boundary=e89a8ff1cf6cab9a0804daccfbf8 X-Gm-Message-State: ALoCoQkWCFJnCxc9ePqskEhthmBcZ4dPCBEUaRRUYJqRuqnf76q56vJc2sYHvnEBOqQut3pBCsi1 X-Virus-Checked: Checked by ClamAV on apache.org --e89a8ff1cf6cab9a0804daccfbf8 Content-Type: text/plain; charset=ISO-8859-1 writing a map only job will do the trick for you. On Sat, Apr 20, 2013 at 8:43 AM, Vikas Jadhav wrote: > Hello, > Can anyone help me in following issue > Writing intermediate key,value pairs to file and read it again > > let us say i have to write each intermediate pair received @reducer to a > file and again read that as key value pair again and use it for processing > > I found IFile.java file which has reader and writer but i am not able > understand how to use it for example. I dont understand Counter value as > last parameter "spilledRecordsCounter" > > > Thanks. > > > -- > * > * > * > > Regards,* > * Vikas * > --e89a8ff1cf6cab9a0804daccfbf8 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
writing a map only job will do the trick for you.

=A0

On Sat, = Apr 20, 2013 at 8:43 AM, Vikas Jadhav <vikascjadhav87@gmail.com= > wrote:
Hello,
Can anyone help me in following issue
Writing intermediate key,value p= airs to file and read it again

let us say i have to write each intermediate pair received @= reducer to a file and again read that as key value pair again and use it fo= r processing

I found IFile.java file which has reader and writer but i am= not able understand how to use it for example. I dont understand Counter v= alue as last parameter "spilledRecordsCounter"


Thanks.

<= br>
--

<= /font>
=
=A0 Regards,
=A0 =A0Vikas =

--e89a8ff1cf6cab9a0804daccfbf8--