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 B9CD49830 for ; Thu, 14 Mar 2013 16:05:30 +0000 (UTC) Received: (qmail 63580 invoked by uid 500); 14 Mar 2013 16:05:25 -0000 Delivered-To: apmail-hadoop-user-archive@hadoop.apache.org Received: (qmail 63126 invoked by uid 500); 14 Mar 2013 16:05:25 -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 63083 invoked by uid 99); 14 Mar 2013 16:05:24 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 14 Mar 2013 16:05:24 +0000 X-ASF-Spam-Status: No, hits=2.2 required=5.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of wangzhiqiang@360.cn designates 220.181.157.6 as permitted sender) Received: from [220.181.157.6] (HELO mtazwt2.360.cn) (220.181.157.6) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 14 Mar 2013 16:05:14 +0000 Received: from mfw.qihoo.net (unknown [220.181.158.253]) by mtazwt2.360.cn (QHMAIL) with SMTP id 0C298394056 for ; Fri, 15 Mar 2013 00:04:42 +0800 (CST) X-MAILFROM: X-RCPTTO: X-FROMIP: 220.181.158.201 X-EQManager-Scaned: 1 X-Received: unknown,220.181.158.201,20130315000154 Received: from unknown (HELO cas1.corp.qihoo.net) (220.181.158.201) by localhost with SMTP; 14 Mar 2013 16:01:54 -0000 Received: from EX2.corp.qihoo.net ([220.181.158.192]) by CAS1.corp.qihoo.net ([220.181.158.129]) with mapi id 14.02.0283.003; Fri, 15 Mar 2013 00:04:48 +0800 From: =?gb2312?B?zfXWvse/?= To: "user@hadoop.apache.org" Subject: =?gb2312?B?tPC4tDogV2h5IGhhZG9vcCBpcyBzcGF3aW5nIHR3byBtYXAgb3ZlciBmaWxl?= =?gb2312?Q?_size_1.5_KB_=3F?= Thread-Topic: Why hadoop is spawing two map over file size 1.5 KB ? Thread-Index: AQHOHw2i0dIk5Ta1IUar0KlbMJmwcJikyE4AgACUehk= Date: Thu, 14 Mar 2013 16:04:48 +0000 Message-ID: References: , In-Reply-To: Accept-Language: zh-CN, en-US Content-Language: zh-CN X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.198.5.110] Content-Type: multipart/alternative; boundary="_000_F967A64B0462AA4CA247F86ED78A151F014897B5EX2corpqihoonet_" MIME-Version: 1.0 X-Virus-Checked: Checked by ClamAV on apache.org --_000_F967A64B0462AA4CA247F86ED78A151F014897B5EX2corpqihoonet_ Content-Type: text/plain; charset="gb2312" Content-Transfer-Encoding: base64 cGxlYXNlIGNoZWNrIHBhcmFtZXRlciAibWFwcmVkLm1hcC50YXNrcyIgaXMgZXF1YWxzIHRvIDI/ DQpfX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fXw0Kt6K8/sjLOiBZYW5ibyBMaWFuZyBb eWFuYm9oYXBweUBnbWFpbC5jb21dDQq3osvNyrG85DogMjAxM8TqM9TCMTTI1SAyMzoxMQ0KytW8 /sjLOiB1c2VyQGhhZG9vcC5hcGFjaGUub3JnDQrW98ziOiBSZTogV2h5IGhhZG9vcCBpcyBzcGF3 aW5nIHR3byBtYXAgb3ZlciBmaWxlIHNpemUgMS41IEtCID8NCg0KSSBndWVzcyBtYXkgYmUgb25l IG9mIHRoZW0gaXMgdGhlIHNwZWN1bGF0aXZlIGV4ZWN1dGlvbi4NCllvdSBjYW4gY2hlY2sgdGhl IHBhcmFtZXRlciAibWFwcmVkLm1hcC50YXNrcy5zcGVjdWxhdGl2ZS5leGVjdXRpb24iIHRvIGVu c3VyZSB3aGV0aGVyIGl0IGlzIGFsbG93ZWQgc3BlY3VsYXRpdmUgZXhlY3V0aW9uLg0KWW91IGNh biBnZXQgdGhlIHByZWNpc2UgaW5mb3JtYXRpb24gdGhhdCB3aGV0aGVyIGl0IGlzIHNwZWN1bGF0 aXZlIG1hcCB0YXNrIGZyb20gdGhlIHRhc2t0cmFja2VyIGxvZy4NCg0KMjAxMy8zLzEyIHNhbWly IGRhcyBtb2hhcGF0cmEgPHNhbWlyLmhlbHBkb2NAZ21haWwuY29tPG1haWx0bzpzYW1pci5oZWxw ZG9jQGdtYWlsLmNvbT4+DQpIaSBBbGwsDQogIEkgaGF2ZSB2ZXJ5IGZ1bmRhbWVudGFsIGRvdWJ0 LCBJIGhhdmUgZmlsZSBoYXZpbmcgc2l6ZSAxLjVLQiBhbmQgYmxvY2sgc2l6ZSBpcyBkZWZhdWx0 IGJsb2NrIHNpemUsIEJ1dCBpIGNvdWxkIHNlZSB0d28gbWFwcGVyIGl0IGdvdCBjcmV0ZWQgZHVy aW5nIHRoZSBKb2IuIENvdWxkIHlvdSBwbGVhc2UgaGVscCAgdG8gZ2V0IHdob2xlIHBpY3R1cmUg d2h5IGl0IGlzIC4NCg0KUmVnYXJkcywNCnNhbWlyLg0KDQo= --_000_F967A64B0462AA4CA247F86ED78A151F014897B5EX2corpqihoonet_ Content-Type: text/html; charset="gb2312" Content-Transfer-Encoding: quoted-printable
please check parameter "mapred.map.tasks" is equals to 2?<= br>
=B7=A2=BC=FE=C8=CB: Yanbo Liang [yanboha= ppy@gmail.com]
=B7=A2=CB=CD=CA=B1=BC=E4: 2013=C4=EA3=D4=C214=C8=D5 23:11
=CA=D5=BC=FE=C8=CB: user@hadoop.apache.org
=D6=F7=CC=E2: Re: Why hadoop is spawing two map over file size 1.5 K= B ?

I guess may be one of them is the speculative execution.
You can check the parameter "mapred.map.tasks.speculative.execution" to en= sure whether it is allowed speculative execution. 
= You can get the precise information that w= hether it is speculative map task from the tasktracker log.

2013/3/12 samir das mohapatra = <samir.help= doc@gmail.com>
Hi All,
  I have very fundamental doubt, I have file having size 1.5KB and blo= ck size is default block size, But i could see two mapper it got creted dur= ing the Job. Could you please help  to get whole picture why it is .
Regards,
samir.

--_000_F967A64B0462AA4CA247F86ED78A151F014897B5EX2corpqihoonet_--