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 DD46B18AED for ; Mon, 22 Feb 2016 12:24:26 +0000 (UTC) Received: (qmail 88276 invoked by uid 500); 22 Feb 2016 12:09:26 -0000 Delivered-To: apmail-hadoop-mapreduce-user-archive@hadoop.apache.org Received: (qmail 87069 invoked by uid 500); 22 Feb 2016 12:09:23 -0000 Mailing-List: contact user-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list user@hadoop.apache.org Received: (qmail 85427 invoked by uid 99); 22 Feb 2016 12:07:45 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 22 Feb 2016 12:07:45 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id B99F6C0DE3 for ; Mon, 22 Feb 2016 12:07:44 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.198 X-Spam-Level: * X-Spam-Status: No, score=1.198 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=2, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd4-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx2-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id ndUI-y_Y7579 for ; Mon, 22 Feb 2016 12:07:43 +0000 (UTC) Received: from mail-ig0-f171.google.com (mail-ig0-f171.google.com [209.85.213.171]) by mx2-lw-eu.apache.org (ASF Mail Server at mx2-lw-eu.apache.org) with ESMTPS id A13655F1C6 for ; Mon, 22 Feb 2016 12:07:42 +0000 (UTC) Received: by mail-ig0-f171.google.com with SMTP id xg9so75030129igb.1 for ; Mon, 22 Feb 2016 04:07:42 -0800 (PST) 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 :cc; bh=aUFJeOMwG4lumink6OQwWqYIjpUxBaMX8K+UvmNydHY=; b=YT1uKRWHlr9VSvUGbtJ2uGB1ROQx9MPqJ83ELBpb3bqf52zd7n/XYgQKztQxMFV8u7 wsz3erfxS44sYZN3zY4Rfae2ikvxIhYSOPobIRgSCkFJoIv3AjRgJpoTMpxmoTsNkLYr ebmJmD3ZcrHUsu2vtVi5MrvLON8HcicfCqtE5F3tWcgNbeqgrcA0KLH5is3qxJVc2HYl T9zut7TxVCo+/uSdgGEUqhCj6bclSrtlRsygpl0Tm6P4Cl0VkiKcU0LGX0Ded20SVBAJ OJjyvEip4QGz8MemEdVYaV0DmLc7PjeAUt/Co43xAw+QW2RbTY1do4/h0zv2AMZVDDCK /GIA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc; bh=aUFJeOMwG4lumink6OQwWqYIjpUxBaMX8K+UvmNydHY=; b=TY/lSOTFhTotIbaJ2WhgNWRFEIKcpMmZzMy0LJXLK1+ZHTJ5W+QY+c2V26sV1CfvbH OhjaKNWnum/bvB+gERVrmwGkrBUa/p0YxMjJOG4Y2e3VV5t2+vAjWEskx3z+qZpbC2Ff J/UfKHiQq5gr1sqjr3IELNf0Q9wL9x4QjyAUvLjFDnArYc+xTjzb6FwqkAxDqsD1Hyu5 +6+qlZ1fe5zMW7My39Y578i4uHicbHhFBLGkZCWpgKG3afgF6A9LBqK8iLG0ubGl6LLY q+xGRtdz0Zv8vdnn7n6JdXsGFBx0azyyw8MNwrLD3WCLT1EeRHpBLfK978OVEqYr1WKZ 1Htw== X-Gm-Message-State: AG10YOQlnevbaHkq7zNCO8+dPLjFyyZne1mU0WhdEL1I13d2fcwRJq95fAw1+UdwFyZU5SSH2NNvclujQGaFlA== MIME-Version: 1.0 X-Received: by 10.50.17.71 with SMTP id m7mr10610828igd.29.1456142861648; Mon, 22 Feb 2016 04:07:41 -0800 (PST) Received: by 10.64.16.166 with HTTP; Mon, 22 Feb 2016 04:07:41 -0800 (PST) In-Reply-To: References: Date: Mon, 22 Feb 2016 17:37:41 +0530 Message-ID: Subject: Re: Hadoop-2.7.2 MR job stuck in accepted state From: Varun Saxena To: kumar r Cc: user@hadoop.apache.org Content-Type: multipart/alternative; boundary=089e0116081602cd92052c5aae6d --089e0116081602cd92052c5aae6d Content-Type: text/plain; charset=UTF-8 Hi Kumar, This has to do with yarn.scheduler.capacity.maximum-am-resource-percent which by default is 0.1 This parameter is used to control the number of concurrently running apps. Refer to https://hadoop.apache.org/docs/r2.7.2/hadoop-yarn/hadoop-yarn-site/CapacityScheduler.html#Queue_Properties Regards, Varun Saxena On Mon, Feb 22, 2016 at 12:01 PM, kumar r wrote: > Hi, > > I have configured hadoop-2.7.2 pseudo-node cluster in windows. When i > submit a MR job, it works fine. But if i submit multiple MR jobs then only > one job runs at a time. > > First job is in RUNNING state and all other job in ACCEPTED state even > yarn has enough memory (3 GB free out of 6 GB). > But the same works fine in hadoop-2.5.2 > > > *yarn-site.xml* > > > yarn.nodemanager.resource.memory-mb > 6144 > > > yarn.scheduler.minimum-allocation-mb > 256 > > > yarn.scheduler.maximum-allocation-mb > 2250 > > > Any new property to be set for running multiple job at a time? > > Stack Overflow Question : http://stackoverflow.com/questions/35545986/hadoop-2-7-2-mr-job-in-accepted-state > > Thanks, > > Kumar > > --089e0116081602cd92052c5aae6d Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hi Kumar,=C2=A0

This has to do with=C2= =A0yarn.scheduler.capacity.maximum-am-resource-percen= t which by default is 0.1
This par= ameter is used to control the number of concurrently running apps.
Refer to=C2=A0https://hadoop.apache.org/docs/r2.7.2/hadoop-yarn/ha= doop-yarn-site/CapacityScheduler.html#Queue_Properties

R= egards,
Varun Saxena

On Mon, Feb 22= , 2016 at 12:01 PM, kumar r <kumarccpp@gmail.com> wrote:
Hi,

I have configu= red hadoop-2.7.2 pseudo-node cluster in windows. When i submit a MR job, it= =20 works fine. But if i submit multiple MR jobs then only one job runs at a time.

First job is in RUNNING state and all other job in ACCEPTE= D state even yarn has enough memory (3 GB free out of 6 GB).

But the same works fine in hadoop-2.5.2

yarn-site.xml

<property>
 <name>yarn.nodemanager.resource.memory-mb</name>
 <value>6144</value>
</property>
<property>
 <name>yarn.scheduler.minimum-allocation-mb</name>
 <value>256</value>
</property>
<property>
 <name>yarn.scheduler.maximum-allocation-mb</name>
 <value>2250</value>
</property>

Any new property to be set=
 for running multiple job at a time?

Stack O=
verflow Question : http://stackoverflo=
w.com/questions/35545986/hadoop-2-7-2-mr-job-in-accepted-state
Thanks,
Kumar

--089e0116081602cd92052c5aae6d--