Return-Path: X-Original-To: apmail-hadoop-common-user-archive@www.apache.org Delivered-To: apmail-hadoop-common-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id B8644C202 for ; Mon, 3 Jun 2013 10:13:09 +0000 (UTC) Received: (qmail 35577 invoked by uid 500); 3 Jun 2013 10:13:04 -0000 Delivered-To: apmail-hadoop-common-user-archive@hadoop.apache.org Received: (qmail 35351 invoked by uid 500); 3 Jun 2013 10:13:04 -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 35339 invoked by uid 99); 3 Jun 2013 10:13:03 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 03 Jun 2013 10:13:03 +0000 X-ASF-Spam-Status: No, hits=2.5 required=5.0 tests=FREEMAIL_REPLY,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of rajkrrsingh@gmail.com designates 209.85.212.49 as permitted sender) Received: from [209.85.212.49] (HELO mail-vb0-f49.google.com) (209.85.212.49) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 03 Jun 2013 10:12:58 +0000 Received: by mail-vb0-f49.google.com with SMTP id q13so2444151vbe.8 for ; Mon, 03 Jun 2013 03:12:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=7UAjB+odxUpJfTUvhrt2dOUgAp2dXGfdoumuVy5JJaA=; b=LrW08U2ueSthZ5LnbKLjO26VBS4Yvx0Kuk2CD88fyl00Yf6gTeGZtiEZzYn85HudrL ZGNLgIoatLXUDzH0jLWIeGHme37BvQHObUWwbbQrSf5Gp3b0rCDqnpLr/WuPqHp+fNO2 oQEhCDW/+O3x5tjrmcSozsirt2zxOHTnz9SkdPtfLAYWNPTHGA1ZRsib5uM4ukltcM4I KD7WgOuyxx7aXIH34PayjUxTl0HBxXbv4Aje13eZlU92Af6Ym+dTtR9FGfxpjtY3msZu eJVcGpQrOjqkgQtMIpWUsVsdSwWDq8PPe5FWUC/l1KKlOMAPJ9lIvQe0SH5FUdTrZ944 ExjQ== X-Received: by 10.52.24.167 with SMTP id v7mr14206622vdf.20.1370254358104; Mon, 03 Jun 2013 03:12:38 -0700 (PDT) MIME-Version: 1.0 Received: by 10.221.10.204 with HTTP; Mon, 3 Jun 2013 03:12:08 -0700 (PDT) In-Reply-To: References: From: Raj K Singh Date: Mon, 3 Jun 2013 15:42:08 +0530 Message-ID: Subject: Re: How to get the intermediate mapper output file name To: user@hadoop.apache.org Content-Type: multipart/alternative; boundary=20cf3071d05e44510a04de3d34b6 X-Virus-Checked: Checked by ClamAV on apache.org --20cf3071d05e44510a04de3d34b6 Content-Type: text/plain; charset=ISO-8859-1 you can use *getInputFileBasedOutputFileName*(JobConf job, String name) which Generate the outfile name based on a given anme and the input file name. thanks :::::::::::::::::::::::::::::::::::::::: Raj K Singh http://www.rajkrrsingh.blogspot.com Mobile Tel: +91 (0)9899821370 On Mon, Jun 3, 2013 at 3:04 PM, samir das mohapatra wrote: > Hi all, > How to get the mapper output filename inside the the mapper . > > or > > How to change the mapper ouput file name. > Default it looks like part-m-00000,part-m-00001 etc. > > Regards, > samir. > --20cf3071d05e44510a04de3d34b6 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
you can use=A0getInputFileBa= sedOutputFileName(JobConf=A0job,=A0String=A0name)= =A0which=A0=A0 Generate the outfile name based on a giv= en anme and the input file name.

thanks

:::::::::::::::::::::::::::= :::::::::::::
Raj K Singh
http://www.rajkrrsingh.blog= spot.com
Mobile=A0 Tel: +91 (0)9899821370



On Mon, Jun 3, 2013 at 3:04 PM, samir da= s mohapatra <samir.helpdoc@gmail.com> wrote:
Hi all,
=A0=A0 How to get the mapper output filena= me=A0 inside the=A0 the mapper .

=A0 or
=A0
<= div>How to change the=A0 mapper ouput file name.
=A0Default it looks lik= e part-m-00000,part-m-00001 etc.

Regards,
samir.

--20cf3071d05e44510a04de3d34b6--