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 B1FB811182 for ; Thu, 21 Aug 2014 13:32:09 +0000 (UTC) Received: (qmail 75554 invoked by uid 500); 21 Aug 2014 13:32:05 -0000 Delivered-To: apmail-hadoop-mapreduce-user-archive@hadoop.apache.org Received: (qmail 75433 invoked by uid 500); 21 Aug 2014 13:32:04 -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 75423 invoked by uid 99); 21 Aug 2014 13:32:04 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 21 Aug 2014 13:32:04 +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 wheeleast@gmail.com designates 209.85.212.170 as permitted sender) Received: from [209.85.212.170] (HELO mail-wi0-f170.google.com) (209.85.212.170) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 21 Aug 2014 13:31:37 +0000 Received: by mail-wi0-f170.google.com with SMTP id f8so8064650wiw.5 for ; Thu, 21 Aug 2014 06:31: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:from:date:message-id:subject:to :content-type; bh=eXNCDm9apH+FPkIIFv4ZJmza/RRL2YrIMFOrpOXJaM0=; b=OrdlUpSmmB/IuNn5LkcjM5dVjnLAIcD1zi/3f2IDUpyK7YdkiBr3JYoNzsmSJRNXuu wXRfaU4T8rkcrBhXbA3JU0D5x4+7VAh0iuyw7mXfLpmrcvFK17HQOKZ/f2kejZC/juBp rzUydXuMQckb0na7gdH/1AW7XwDcomtIDnmDJulIU+xLRO+fC1nll6e9w6qX4d1ZhY+1 NC9/KtOjHg7tB3ClE1mDQsIi71QNb5FyNSUg81pAcoNzXnSI+mYAzRv+WoCBOdUQs2Ay Es5iXQQ7lr+keYo1PoxFvFkPCoIJyCqGiZ5lALCRh072uktXAAHYkyMbfHigEI4mHkqo HJjw== X-Received: by 10.194.209.169 with SMTP id mn9mr3746365wjc.122.1408627896430; Thu, 21 Aug 2014 06:31:36 -0700 (PDT) MIME-Version: 1.0 Received: by 10.216.27.129 with HTTP; Thu, 21 Aug 2014 06:31:06 -0700 (PDT) In-Reply-To: References: From: Wangda Tan Date: Thu, 21 Aug 2014 21:31:06 +0800 Message-ID: Subject: Re: Memory settings in hadoop YARN To: "user@hadoop.apache.org" Content-Type: multipart/alternative; boundary=047d7b3a89626339f4050123bd58 X-Virus-Checked: Checked by ClamAV on apache.org --047d7b3a89626339f4050123bd58 Content-Type: text/plain; charset=UTF-8 Hi Narayanan, I've read a great blog post by Rohit Bakhshi before, recommend it to you : http://hortonworks.com/blog/how-to-plan-and-configure-yarn-in-hdp-2-0/. I think most your questions are covered by this blog post. Please let me know if you have more questions. Thanks, Wangda Tan On Wed, Aug 20, 2014 at 12:12 PM, Narayanan K wrote: > Hi > > We run our Pig jobs in Hadoop 0.23 which has the new YARN architecture. > > I had few questions on memory used by the jobs : > > We have following settings for memory. > > mapred.child.java.opts > > mapreduce.map.memory.mb > > mapreduce.reduce.memory.mb > > yarn.app.mapreduce.am.resource.mb > > yarn.app.mapreduce.am.command-opts > > > 1. I want to understand these settings to make better use of Hadoop > cluster. > 2. How is Memory Allocated to Container ? Does any of the above > settings result in change in container ? > 3. Any other memory settings we need to be aware of ? > 4. I heard there was a virtual memory and physical memory involved. Is > there any propery documentation/guide that can make the memory > management easy. > > Thanks > Narayanan > --047d7b3a89626339f4050123bd58 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hi Narayanan,
I've read a great blog post by Rohit= Bakhshi before, recommend it to you :=C2=A0http://hortonworks.com/= blog/how-to-plan-and-configure-yarn-in-hdp-2-0/. I think most your ques= tions are covered by this blog post. Please let me know if you have more qu= estions.=C2=A0

Thanks,
Wangda Tan

=


On Wed, Aug 2= 0, 2014 at 12:12 PM, Narayanan K <knarayanan88@gmail.com> wrote:
Hi

We run our Pig jobs in Hadoop 0.23 which has the new YARN architecture.

I had few questions on memory used by the jobs :

We have following settings for memory.

mapred.child.java.opts

mapreduce.map.memory.mb

mapreduce.reduce.memory.mb

yarn.app.mapreduce.am.resource.mb

yarn.app.mapreduce.am.command-opts


1. I want to understand these settings to make better use of Hadoop cluster= .
2. How is Memory Allocated to Container ? Does any of the above
settings result in change in container ?
3. Any other memory settings we need to be aware of ?
4. I heard there was a virtual memory and physical memory involved. Is
there any propery documentation/guide that can make the memory
management easy.

Thanks
Narayanan

--047d7b3a89626339f4050123bd58--