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 94802D206 for ; Thu, 23 May 2013 17:34:21 +0000 (UTC) Received: (qmail 72688 invoked by uid 500); 23 May 2013 17:34:16 -0000 Delivered-To: apmail-hadoop-user-archive@hadoop.apache.org Received: (qmail 72568 invoked by uid 500); 23 May 2013 17:34:16 -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 72545 invoked by uid 99); 23 May 2013 17:34:16 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 23 May 2013 17:34:16 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of amalgjos@gmail.com designates 209.85.223.178 as permitted sender) Received: from [209.85.223.178] (HELO mail-ie0-f178.google.com) (209.85.223.178) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 23 May 2013 17:34:08 +0000 Received: by mail-ie0-f178.google.com with SMTP id f4so2197935iea.9 for ; Thu, 23 May 2013 10:33:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=uiZu3cafLUyIVGAMwn5M1kg460s37G0WYgQ8uGZPrNk=; b=FVL5nOTuOQg+U9JM6AaGVFXlj1jMXEnWD3Jh3mhGMDSvuUck7u9MBqV8kXI7oQvMo/ g1WMUvhGqqkQfvw6lIBzM7fGbOepztjNA0qYPWUi7RUFDabqAje+UCc9mfp4ZEoLr4IK 8Jf/4pvr+rY/okO5EbdEVBlHM6mnNni5YdF9QvWXtvXjsgaZzqFJTAcm55U5yGOaTq9L uQioMnwSYXfGRsU3PZVkxsWQGwGOH75AOwzFrT0k+h33Za7t29P38tTNA7IL25aiZMm6 udB39rP42PDT0J2CFbXolauRs7V1DgISSpvUcQocm56r8Qlu3wuVqaht5SevDUnujQ7y UQPw== MIME-Version: 1.0 X-Received: by 10.42.78.136 with SMTP id n8mr10228976ick.52.1369330427015; Thu, 23 May 2013 10:33:47 -0700 (PDT) Received: by 10.64.137.197 with HTTP; Thu, 23 May 2013 10:33:46 -0700 (PDT) In-Reply-To: <1714974172-1369318736-cardhu_decombobulator_blackberry.rim.net-262711906-@b4.c16.bise7.blackberry> References: <1714974172-1369318736-cardhu_decombobulator_blackberry.rim.net-262711906-@b4.c16.bise7.blackberry> Date: Thu, 23 May 2013 23:03:46 +0530 Message-ID: Subject: Re: Hadoop Installation Mappers setting From: Amal G Jose To: user@hadoop.apache.org, bejoy.hadoop@gmail.com Content-Type: multipart/alternative; boundary=20cf3010e75daf043f04dd6615f0 X-Virus-Checked: Checked by ClamAV on apache.org --20cf3010e75daf043f04dd6615f0 Content-Type: text/plain; charset=ISO-8859-1 I am explaining it more. If your machine have 8 GB of memory. After reserving to Operating system and all other processes except tasktracker, you have 4 GB remaining(assume). The remaining process running is tasktracker. If the child jvm size is 200 MB, Then you can define a maximum slots of 4*1024 MB/ 200 MB Which is approximately 20. You can divide the slots into mapper and reducer slots as per your requirement. This is just an example that I explained based on my knowledge. On Thu, May 23, 2013 at 7:48 PM, wrote: > ** > Hi > > I assume the question is on how many slots. > > It dependents on > - the child/task jvm size and the available memory. > - available number of cores > > > > Your available memory for tasks is total memory - memory used for OS and > other services running on your box. > > Other services include non hadoop services as well as hadoop daemons. > > Divide the available memory with child jvm size and that would get the max > num of slots. > > Also check whether sufficient number of cores are available as well. > > > Regards > Bejoy KS > > Sent from remote device, Please excuse typos > ------------------------------ > *From: * Jitendra Yadav > *Date: *Thu, 23 May 2013 18:10:38 +0530 > *To: * > *ReplyTo: * user@hadoop.apache.org > *Subject: *Hadoop Installation Mappers setting > > Hi, > > While installing hadoop cluster, how we can calculate the exact number of > mappers value. > > > Thanks~ > --20cf3010e75daf043f04dd6615f0 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
I am explaining it more.
If your machine have 8 = GB of memory.
After reserving to Operating system and all o= ther processes except tasktracker, you have 4 GB remaining(assume).
The remaining process running is tasktracker.
If the child = jvm size is 200 MB,
Then you can define a maximum slots of = 4*1024 MB/ 200 MB=A0
Which is approximately 20.
You can divide the slots into mapper and reducer slots as per your requirem= ent.
This is just an example that I explained based on my k= nowledge.



On Thu, May 23, 2013 at 7:48 PM, <be= joy.hadoop@gmail.com> wrote:
jeetuyadav200890@gmail.com>
Date: Thu, 23 May 2013 18:10:38 +0530
Subject: Hadoop Installation Mappers setting

Hi,
=A0
While installing hadoop cluster, how we can calculate the exact number= of mappers value.
=A0
=A0
Thanks~

--20cf3010e75daf043f04dd6615f0--