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 93BC993D1 for ; Thu, 3 May 2012 12:56:06 +0000 (UTC) Received: (qmail 36278 invoked by uid 500); 3 May 2012 12:56:05 -0000 Delivered-To: apmail-hadoop-mapreduce-user-archive@hadoop.apache.org Received: (qmail 36228 invoked by uid 500); 3 May 2012 12:56:05 -0000 Mailing-List: contact mapreduce-user-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: mapreduce-user@hadoop.apache.org Delivered-To: mailing list mapreduce-user@hadoop.apache.org Received: (qmail 36219 invoked by uid 99); 3 May 2012 12:56:05 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 May 2012 12:56:05 +0000 X-ASF-Spam-Status: No, hits=1.7 required=5.0 tests=FREEMAIL_ENVFROM_END_DIGIT,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of kasisubbu440@gmail.com designates 209.85.220.176 as permitted sender) Received: from [209.85.220.176] (HELO mail-vx0-f176.google.com) (209.85.220.176) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 May 2012 12:55:57 +0000 Received: by vcbfl17 with SMTP id fl17so1892640vcb.35 for ; Thu, 03 May 2012 05:55:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=miDmAVefqvYuHAVTbOTD2rhNQOYnpS7x1ZbUCMwenMo=; b=JAMnj6WSTNo4ZqvZy1q6RRMO9bK/YOJ8wrvF4iRV5DhefeWMy4A0QZDBonpMBoOGve 2KrPdt193wCCCeqTeQiZlE3lcB+wPVVp3OuttJV0bBPd7tRtsy3PSFn3oG1bROX9jy/q EgVnzrO84FDGpVKa9F0d6A/BNv3/IaF5Rw/RFsMNnCbEKgp+TTdsulKChuYiTsPghYiE 82xNVpgzRhvFstdZNp/wWnMzpWORp3F5qg21Wj/UVKVXTJb1DJXUbSu+8enNmdZBVMrW Vr+1pUbBMNO5/Fke124+JXf+uQ/4LMNRn819V4UGMuxz7D6uU6d0VZhH5MLBbTljCJIW D6wA== MIME-Version: 1.0 Received: by 10.52.180.106 with SMTP id dn10mr84610vdc.127.1336049736992; Thu, 03 May 2012 05:55:36 -0700 (PDT) Received: by 10.220.48.137 with HTTP; Thu, 3 May 2012 05:55:36 -0700 (PDT) Date: Thu, 3 May 2012 18:25:36 +0530 Message-ID: Subject: Getting filename in case of MultipleInputs From: Kasi Subrahmanyam To: mapreduce-user@hadoop.apache.org Content-Type: multipart/alternative; boundary=bcaec51a7ed4f9c95404bf2151df --bcaec51a7ed4f9c95404bf2151df Content-Type: text/plain; charset=ISO-8859-1 Hi, Could anyone suggest how to get the filename in the mapper. I have gone through the JIRA ticket that map.input.file doesnt work in case of multiple inputs,TaggedInputSplit also doesnt work in case of 0.20.2 version as it is not a public class. I tried to find any other approach than this but i could find none in the search Could anyone suggest a solution other tan these Thanks in advance; Subbu. --bcaec51a7ed4f9c95404bf2151df Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hi,

Could anyone suggest how to get the filename in the mapper.
I= have gone through the JIRA ticket that map.input.file doesnt work in case = of multiple inputs,TaggedInputSplit also doesnt work in case of 0.20.2 vers= ion as it is not a public class.
I tried to find any other approach than this but i could find none in the s= earch
Could anyone suggest a solution other tan these



Th= anks in advance;
Subbu.
--bcaec51a7ed4f9c95404bf2151df--