Return-Path: X-Original-To: apmail-hadoop-common-user-archive@www.apache.org Delivered-To: apmail-hadoop-common-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 2C9851012B for ; Wed, 15 Oct 2014 12:16:09 +0000 (UTC) Received: (qmail 69420 invoked by uid 500); 15 Oct 2014 12:16:02 -0000 Delivered-To: apmail-hadoop-common-user-archive@hadoop.apache.org Received: (qmail 69308 invoked by uid 500); 15 Oct 2014 12:16:02 -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 69297 invoked by uid 99); 15 Oct 2014 12:16:01 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 15 Oct 2014 12:16:01 +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 (athena.apache.org: domain of shahab.yunus@gmail.com designates 209.85.217.170 as permitted sender) Received: from [209.85.217.170] (HELO mail-lb0-f170.google.com) (209.85.217.170) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 15 Oct 2014 12:15:57 +0000 Received: by mail-lb0-f170.google.com with SMTP id u10so898596lbd.29 for ; Wed, 15 Oct 2014 05:15:36 -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=f6+qCVDyBvEcr9gxfYpR15ZAGrTV1Cx9ypixLJen8Ag=; b=Rb3/sICF6qYUAOqPCahyPaLmzuBPEaT8X/WmcnMmdI8VM7gaf3swOTQifCFku1c0Es bloGFuB879STExxmmqGBNLedrNGUJt/odFRbMJARkp/7HK1kPvumfk7OL22xY0YHZKGr x5WJnMSqfWUV9yQQmT624ZUVT0f297VqjmOVbOvhvC8rHH9iqKXTtp/DS/TvdRvH9lFx UoMv4I6agXAT1zRpMjXSmPjY2zxRu15i/vj5iUlLwTGs+nAhies2fSk7wOgsBXo7jtA5 lAjK9Pj0NXPTD3EY+eeNfNaZ2Gkf3nNfo+t5ZJ2Huqb4+55j3PoMqpvCNyRPSPq4A9Wu 09lQ== MIME-Version: 1.0 X-Received: by 10.112.239.12 with SMTP id vo12mr11848086lbc.81.1413375336545; Wed, 15 Oct 2014 05:15:36 -0700 (PDT) Received: by 10.25.33.145 with HTTP; Wed, 15 Oct 2014 05:15:36 -0700 (PDT) In-Reply-To: <543E63FB.9000400@datametica.com> References: <543E63FB.9000400@datametica.com> Date: Wed, 15 Oct 2014 08:15:36 -0400 Message-ID: Subject: Re: number of mappers allowed in a container in hadoop2 From: Shahab Yunus To: "user@hadoop.apache.org" Content-Type: multipart/alternative; boundary=001a11348490de8379050575168e X-Virus-Checked: Checked by ClamAV on apache.org --001a11348490de8379050575168e Content-Type: text/plain; charset=UTF-8 It depends on memory settings as well, that how much you want to assign resources to each container. Then yarn will run as many mappers in parallel as possible. See this: http://hortonworks.com/blog/how-to-plan-and-configure-yarn-in-hdp-2-0/ http://docs.hortonworks.com/HDPDocuments/HDP2/HDP-2.0.6.0/bk_installing_manually_book/content/rpm-chap1-11.html Regards, Shahab On Wed, Oct 15, 2014 at 8:09 AM, SACHINGUPTA wrote: > Hi guys > > I have situation in which i have machine with 4 processor and i have 5 > containers so does it mean i can have only 4 mappers running parallely at a > time > > and number of mappers is not dependent on the number of containers in a > machine then what is the use of container concept > > sorry if i have asked anything obvious. > > -- > Thanks > Sachin Gupta > > --001a11348490de8379050575168e Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
It depends on memory settings as well, that how much you w= ant to assign resources to each container. Then yarn will run as many mappe= rs in parallel as possible.

See this:

Regards,
Shahab

On Wed, Oct 15, 2014 at 8:09 AM, SACHINGUPTA <sachin@datametica.co= m> wrote:
Hi guys

I have situation in which i have machine with 4 processor and i have 5 cont= ainers so does it mean i can have only 4 mappers running parallely at a tim= e

and number of mappers is not dependent on the number of containers in a mac= hine then what is the use of container concept

sorry if i have asked anything obvious.

--
Thanks
Sachin Gupta


--001a11348490de8379050575168e--