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 F3D91E567 for ; Wed, 5 Dec 2012 17:34:10 +0000 (UTC) Received: (qmail 26486 invoked by uid 500); 5 Dec 2012 17:34:06 -0000 Delivered-To: apmail-hadoop-mapreduce-user-archive@hadoop.apache.org Received: (qmail 25419 invoked by uid 500); 5 Dec 2012 17:33:59 -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 25351 invoked by uid 99); 5 Dec 2012 17:33:58 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 05 Dec 2012 17:33:58 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of harsh@cloudera.com designates 209.85.223.177 as permitted sender) Received: from [209.85.223.177] (HELO mail-ie0-f177.google.com) (209.85.223.177) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 05 Dec 2012 17:33:51 +0000 Received: by mail-ie0-f177.google.com with SMTP id k13so9615991iea.8 for ; Wed, 05 Dec 2012 09:33:30 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:x-gm-message-state; bh=lWvX8P3mIM8UWxdSjHi8gwnfTRNA2Si3jxz0Bhd1JuQ=; b=lV54+/ABMSvsINZNJEtuNcZEbDLmifmQZJ3l4yqRe2fbL86ftrfBHkVeDJgXD1AaVV dW7feuJbKOpIHHix9PiIB0Y0Tes/95A2SEsP2u8UEI2qIYcTKC75M831kUjdbVn8N4Va jHe5sCcLJEibTduN9YU6v2ncHzsLCi6H5DrvLeGbL9RWCJwXT1PAymNaxT8QuVfbavNb FEtC9gqtkahZzI8geXUs9MV1ATvm/ut3804Rn3bvqIuUBO1QJ4qCWgle9RR6K5mMVdU1 t5UpTP9O1Nlicdn0HZ5vBfXtT4S3n2TDVD1dm5Cu22njv7s/B0utFtQdL8KE7Z5omcnC MlvA== Received: by 10.50.40.225 with SMTP id a1mr2988317igl.7.1354728810069; Wed, 05 Dec 2012 09:33:30 -0800 (PST) MIME-Version: 1.0 Received: by 10.64.6.129 with HTTP; Wed, 5 Dec 2012 09:33:09 -0800 (PST) In-Reply-To: References: From: Harsh J Date: Wed, 5 Dec 2012 23:03:09 +0530 Message-ID: Subject: Re: M/R, Strange behavior with multiple Gzip files To: "" Cc: gpolaert@cyres.fr Content-Type: text/plain; charset=ISO-8859-1 X-Gm-Message-State: ALoCoQneCkr2bvy93pUFTO+wQmi7djkD5LQ/oQLd7hG+fi+W0byUV7wPdln1NH/A0pcqpWWKL8nq X-Virus-Checked: Checked by ClamAV on apache.org Your problem isn't clear in your description - can you please rephrase/redefine in terms of what you are expecting vs. what you are observing. Also note that Gzip files are not splittable by nature of their codec algorithm, and hence a TextInputFormat over plain/regular Gzip files would end up spawning and/or processing one whole Gzip file via one mapper, instead of multiple mappers per file. On Wed, Dec 5, 2012 at 9:32 PM, x6i4uybz labs wrote: > Hi everybody, > > I have a M/R job which does a bulk import to hbase. > I have to process many gzip files (2800 x ~ 100mb) > > I don't understand why my job instanciates 80 maps but runs each map > sequentialy like if there is only one big gz file. > > Is there a problem in my driver ? Or maybe I miss something. > I use "FileInputFormat.addInputPath(job, new Path(args[0]))" where args[0] > is a directory. > > Can you help me, please ? > > Thanks, Guillaume -- Harsh J