Return-Path: Delivered-To: apmail-hadoop-common-user-archive@www.apache.org Received: (qmail 73304 invoked from network); 9 Jul 2010 01:36:04 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 9 Jul 2010 01:36:04 -0000 Received: (qmail 78702 invoked by uid 500); 9 Jul 2010 01:36:02 -0000 Delivered-To: apmail-hadoop-common-user-archive@hadoop.apache.org Received: (qmail 78665 invoked by uid 500); 9 Jul 2010 01:36:01 -0000 Mailing-List: contact common-user-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: common-user@hadoop.apache.org Delivered-To: mailing list common-user@hadoop.apache.org Received: (qmail 78655 invoked by uid 99); 9 Jul 2010 01:36:01 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 09 Jul 2010 01:36:01 +0000 X-ASF-Spam-Status: No, hits=4.7 required=10.0 tests=FREEMAIL_FROM,FREEMAIL_REPLY,HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of michael_segel@hotmail.com designates 65.55.34.211 as permitted sender) Received: from [65.55.34.211] (HELO col0-omc4-s9.col0.hotmail.com) (65.55.34.211) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 09 Jul 2010 01:35:53 +0000 Received: from COL117-W4 ([65.55.34.200]) by col0-omc4-s9.col0.hotmail.com with Microsoft SMTPSVC(6.0.3790.4675); Thu, 8 Jul 2010 18:35:31 -0700 Message-ID: Content-Type: multipart/alternative; boundary="_a81bb8f2-0f04-42a8-a411-37030e3b1aa3_" X-Originating-IP: [173.15.87.33] From: Michael Segel To: Subject: RE: How to control the number of map tasks for each nodes? Date: Thu, 8 Jul 2010 20:35:31 -0500 Importance: Normal In-Reply-To: References: , MIME-Version: 1.0 X-OriginalArrivalTime: 09 Jul 2010 01:35:31.0680 (UTC) FILETIME=[04D9B600:01CB1F07] X-Virus-Checked: Checked by ClamAV on apache.org --_a81bb8f2-0f04-42a8-a411-37030e3b1aa3_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Just a nit. i7s are quad core. While Intel has 2 'threads' per core. (I'm assuming you'= re using the i7's (800 series and below) in a single socket mother board.) Based on experience with tuning other databases=2C I am a bit skeptical abo= ut going beyond the number of cores. Also your memory is probably going to = be more of a driver on the number of map/reduce tasks you can run simultane= ously. JMHO=2C YMMV. -Mike > Date: Fri=2C 9 Jul 2010 10:14:14 +0900 > Subject: Re: How to control the number of map tasks for each nodes? > From: mp2893@gmail.com > To: common-user@hadoop.apache.org >=20 > Thanks you all for the info. >=20 > I have successfully configured my cluster. > Thanks again. >=20 > 2010/7/8 edward choi >=20 > > Hi=2C > > > > I have a cluster consisting of 11 slaves and a single master. > > > > The thing is that 3 of my slaves have i7 cpu which means that they can = have > > up to 8 simultaneous processes. > > But other slaves only have dual core cpus. > > > > So I was wondering if I can specify the number of map tasks for each of= my > > slaves. > > For example=2C I want to give 8 map tasks to the slaves that have i7 cp= us and > > only two map tasks to the others. > > > > Is there a way to do this? > > =20 _________________________________________________________________ The New Busy is not the old busy. Search=2C chat and e-mail from your inbox= . http://www.windowslive.com/campaign/thenewbusy?ocid=3DPID28326::T:WLMTAGL:O= N:WL:en-US:WM_HMP:042010_3= --_a81bb8f2-0f04-42a8-a411-37030e3b1aa3_--