Return-Path: X-Original-To: apmail-hadoop-user-archive@minotaur.apache.org Delivered-To: apmail-hadoop-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 B24F4A91 for ; Tue, 28 Aug 2012 13:40:01 +0000 (UTC) Received: (qmail 98254 invoked by uid 500); 28 Aug 2012 13:39:56 -0000 Delivered-To: apmail-hadoop-user-archive@hadoop.apache.org Received: (qmail 97951 invoked by uid 500); 28 Aug 2012 13:39:56 -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 97944 invoked by uid 99); 28 Aug 2012 13:39:56 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 28 Aug 2012 13:39:56 +0000 X-ASF-Spam-Status: No, hits=0.0 required=5.0 tests=FSL_RCVD_USER,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [194.116.198.141] (HELO gse-mta-01.emailfiltering.com) (194.116.198.141) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 28 Aug 2012 13:39:50 +0000 Received: from 83-244-202-21.cust-83.exponential-e.net ([83.244.202.21]) by gse-mta-01.emailfiltering.com with emfmta (version 4.8.5.104) vanilla id 28821531978 ;48bc055ddf985a34; Tue, 28 Aug 2012 14:39:27 +0100 Received: from dss-protector.sig.ads (unknown [127.0.0.1]) by dss-protector.sig.ads (Service) with ESMTP id 8CB87128013 for ; Tue, 28 Aug 2012 13:39:27 +0000 (GMT) Received: from GBGH-SVEXCHFE02.sig.ads (unknown [10.10.14.23]) by dss-protector.sig.ads (Service) with ESMTP id D0E0F128002 for ; Tue, 28 Aug 2012 13:39:26 +0000 (GMT) Received: from GBGH-EXCH-CMS.sig.ads ([fe80::dcac:17fe:e957:d280]) by GBGH-SVEXCHFE02.sig.ads ([fe80::69ae:bd72:c665:191c%10]) with mapi; Tue, 28 Aug 2012 14:39:26 +0100 From: Tony Burton To: "user@hadoop.apache.org" Date: Tue, 28 Aug 2012 14:36:48 +0100 Subject: RE: hadoop 1.0.3 equivalent of MultipleTextOutputFormat Thread-Topic: hadoop 1.0.3 equivalent of MultipleTextOutputFormat Thread-Index: Ac2FGvliZZ8vbwMTRAWBA6HJn2c+RwABsSjw Message-ID: <556325346CA26341B6F0530E07F90D96016C64CD95C9@GBGH-EXCH-CMS.sig.ads> References: <20120828115859.240490@gmx.net> <556325346CA26341B6F0530E07F90D96016C64CD95C7@GBGH-EXCH-CMS.sig.ads> In-Reply-To: Accept-Language: en-US, en-GB Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US, en-GB Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Virus-Checked: Checked by ClamAV on apache.org Hi Harsh Thanks for the reply - my understanding is that with MultipleOutputs I can = write differently named files into the same target directory. With Multiple= TextOutputFormat I was able to override the target directory name to perfor= m the segmentation, by overriding generateFileNameForKeyValue(). Does the 1.0.3 MultipleOutputs give me the ability to alter the target dire= ctory name as well as the file name? Thanks, Tony -----Original Message----- From: Harsh J [mailto:harsh@cloudera.com]=20 Sent: 28 August 2012 13:44 To: user@hadoop.apache.org Subject: Re: hadoop 1.0.3 equivalent of MultipleTextOutputFormat The Multiple*OutputFormat have been deprecated in favor of the generic MultipleOutputs API. Would using that instead work for you? On Tue, Aug 28, 2012 at 6:05 PM, Tony Burton wr= ote: > Hi, > > I've seen that org.apache.hadoop.mapred.lib.MultipleTextOutputFormat is g= ood for writing results into (for example) different directories created on= the fly. However, now I'm implementing a MapReduce job using Hadoop 1.0.3,= I see that the new API no longer supports MultipleTextOutputFormat. Is the= re an equivalent that I can use, or will it be supported in a future releas= e? > > Thanks, > > Tony > > > ********************************************************************** > This email and any attachments are confidential, protected by copyright a= nd may be legally privileged. If you are not the intended recipient, then = the dissemination or copying of this email is prohibited. If you have recei= ved this in error, please notify the sender by replying by email and then d= elete the email completely from your system. Neither Sporting Index nor th= e sender accepts responsibility for any virus, or any other defect which mi= ght affect any computer or IT system into which the email is received and/o= r opened. It is the responsibility of the recipient to scan the email and = no responsibility is accepted for any loss or damage arising in any way fro= m receipt or use of this email. Sporting Index Ltd is a company registered= in England and Wales with company number 2636842, whose registered office = is at Gateway House, Milverton Street, London, SE11 4AP. Sporting Index Lt= d is authorised and regulated by the UK Financial Services Authority (reg. = no. 150404) and Gambling Commission (reg. no. 000-027343-R-308898-001). An= y financial promotion contained herein has been issued > and approved by Sporting Index Ltd. > > Outbound email has been scanned for viruses and SPAM > --=20 Harsh J www.sportingindex.com Inbound Email has been scanned for viruses and SPAM=20 = **********************************************************************=0D= =0AThis email and any attachments are confidential, protected by copyri= ght and may be legally privileged. If you are not the intended recipie= nt, then the dissemination or copying of this email is prohibited. If y= ou have received this in error, please notify the sender by replying by= email and then delete the email completely from your system. Neither = Sporting Index nor the sender accepts responsibility for any virus, or = any other defect which might affect any computer or IT system into whic= h the email is received and/or opened. It is the responsibility of the= recipient to scan the email and no responsibility is accepted for any = loss or damage arising in any way from receipt or use of this email. S= porting Index Ltd is a company registered in England and Wales with com= pany number 2636842, whose registered office is at Gateway House, Milve= rton Street, London, SE11 4AP. Sporting Index Ltd is authorised and re= gulated by the UK Financial Services Authority (reg. no. 150404) and Ga= mbling Commission (reg. no. 000-027343-R-308898-001). Any financial pr= omotion contained herein has been issued=20=0D=0Aand approved by Sporti= ng Index Ltd.=0D=0A=0D=0AOutbound email has been scanned for viruses an= d SPAM=0D=0A=