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 8DA39116CD for ; Sat, 17 May 2014 01:27:22 +0000 (UTC) Received: (qmail 74537 invoked by uid 500); 17 May 2014 00:27:01 -0000 Delivered-To: apmail-hadoop-user-archive@hadoop.apache.org Received: (qmail 18308 invoked by uid 500); 17 May 2014 00:12:01 -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 11782 invoked by uid 99); 16 May 2014 23:57:29 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 16 May 2014 23:57:29 +0000 X-ASF-Spam-Status: No, hits=2.8 required=5.0 tests=HTML_IMAGE_ONLY_24,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS,T_REMOTE_IMAGE X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of dontariq@gmail.com designates 209.85.128.182 as permitted sender) Received: from [209.85.128.182] (HELO mail-ve0-f182.google.com) (209.85.128.182) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 16 May 2014 23:57:25 +0000 Received: by mail-ve0-f182.google.com with SMTP id sa20so3950753veb.41 for ; Fri, 16 May 2014 16:57:04 -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=dYXq+2ucMljno6X5/Wjb5jCQE2PgjtnccpeABXYieTM=; b=z6Nielg+AlB70X7yB7+3B6ufJcytU4VdqkM3269hUfG9IpzwNLG9AZLApRkpkkRbB+ Gk9JTjmOdO/vOMB0WZZkDU3XeuuF8lmmvcqRuWFfvEoWgA8JRUpGLb5+EyT2WqvRg4j8 oW3uKgfoYyg09WO1G/PR3RyctLEcDFK1MAaGHr2rpEvZJhwcrSfBecCqpq9p2glre4Ql 6VnZK0GVOFh1ovOt2QKmceVzwlm+NaU66UFADxIQ5XLHC1C6NXr7MY3G4XQ/x28DijRu 0hhyZqdsxZ4JyY02W9jAd4RgglWBrIP+QLoiTlaUq2jBxuptRHdouJ0myVPC7/RxtHih /3Zw== X-Received: by 10.52.99.168 with SMTP id er8mr14170221vdb.26.1400284624415; Fri, 16 May 2014 16:57:04 -0700 (PDT) MIME-Version: 1.0 Received: by 10.58.244.170 with HTTP; Fri, 16 May 2014 16:56:24 -0700 (PDT) In-Reply-To: References: From: Mohammad Tariq Date: Sat, 17 May 2014 05:26:24 +0530 Message-ID: Subject: Re: Reading multiple file from multiple location To: "user@hadoop.apache.org" Content-Type: multipart/alternative; boundary=20cf3071cab09f704f04f98d2bc1 X-Virus-Checked: Checked by ClamAV on apache.org --20cf3071cab09f704f04f98d2bc1 Content-Type: text/plain; charset=UTF-8 Hi Dhrumil, You might find MultipleInputsuseful. And here is an example of how to use it. HTH *Warm regards,* *Mohammad Tariq* *cloudfront.blogspot.com * On Fri, May 16, 2014 at 7:40 AM, Stanley Shi wrote: > Would you please explain more on what you are trying to do? > Perhaps Distcp is a good example for you. > > Regards, > *Stanley Shi,* > > > > On Wed, May 14, 2014 at 1:09 PM, Dhrumil Shah wrote: > >> Hi >> >> >> Can you please let me know how can i read multiple file from mulitple >> location in my MAP method of mapreduce.. >> >> Any example code will help me a lot.. >> >> >> Thanks >> Dhrumil Shah >> >> > --20cf3071cab09f704f04f98d2bc1 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hi Dhrumil,

You might find=C2=A0MultipleInputs useful. And here is an= example of how to use it.

HTH

Warm regards,
Mohammad Tariq


On Fri, May 16, 2014 at 7:40 AM, Stanley= Shi <sshi@gopivotal.com> wrote:
Would you please explain more on what you are trying to do= ?
Perhaps Distcp is a good example for you.

Regards,
= Stanley Shi,



On Wed, May 14, 2014 at 1:09 PM, Dhrumil= Shah <sdhrumil@gmail.com> wrote:
Hi=C2=A0


Can you please = let me know how can i read multiple file from mulitple location in my MAP m= ethod of mapreduce..

Any example code will help me= a lot..


Thanks
Dhrumil Shah



--20cf3071cab09f704f04f98d2bc1--