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 8249F17ECA for ; Fri, 6 Nov 2015 11:55:03 +0000 (UTC) Received: (qmail 81772 invoked by uid 500); 6 Nov 2015 11:54:58 -0000 Delivered-To: apmail-hadoop-user-archive@hadoop.apache.org Received: (qmail 81663 invoked by uid 500); 6 Nov 2015 11:54:58 -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 81651 invoked by uid 99); 6 Nov 2015 11:54:58 -0000 Received: from Unknown (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 06 Nov 2015 11:54:58 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id 14CF2180A03 for ; Fri, 6 Nov 2015 11:54:58 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.898 X-Spam-Level: ** X-Spam-Status: No, score=2.898 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=3, RCVD_IN_MSPIKE_H2=-0.001, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd3-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-eu-west.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id 1WYd59dn0m7T for ; Fri, 6 Nov 2015 11:54:56 +0000 (UTC) Received: from mail-qg0-f48.google.com (mail-qg0-f48.google.com [209.85.192.48]) by mx1-eu-west.apache.org (ASF Mail Server at mx1-eu-west.apache.org) with ESMTPS id B27C420BE2 for ; Fri, 6 Nov 2015 11:54:55 +0000 (UTC) Received: by qgad10 with SMTP id d10so89379670qga.3 for ; Fri, 06 Nov 2015 03:54:54 -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 :content-type; bh=ojwPfrajxaIVyCnoQx2WxkxR6gt11mX8y8EZhExtXeU=; b=de1teUHZgCxHC4/qhGHWcbvAlV1mTp3lyLTKTldsaKyd8B597OS4wtQcfkwUJ2uszV w80widfJCSzTAI6OvQVh66ebZXzW59cdO5AGalJrmTXphUUj99wK159jTns65rVoNy/1 lS4qaULblxQOWgqFKXiO7JqK8HpszxvJm5PZgdRMNcG3v5wAs28sSd/n6Z611sHGDUP3 jr6dI7482EcnHBURseVzU2nn0Or71pXpvMKAxMYckO4rBOORqwsSrTySZl10bcp7CDJL BnBUGgL4Ry/LPMMzDU0uhsbMpoBoqGW6swHw8DzkP3RKT/9YAuTCqklwJZuy9MUbcGOU jgnA== MIME-Version: 1.0 X-Received: by 10.140.82.213 with SMTP id h79mr12889314qgd.26.1446810894670; Fri, 06 Nov 2015 03:54:54 -0800 (PST) Received: by 10.140.29.66 with HTTP; Fri, 6 Nov 2015 03:54:54 -0800 (PST) In-Reply-To: References: Date: Fri, 6 Nov 2015 17:24:54 +0530 Message-ID: Subject: Re: Max Parallel task executors From: sandeep das To: user@hadoop.apache.org Content-Type: multipart/alternative; boundary=001a11c12fd66f202c0523dde943 --001a11c12fd66f202c0523dde943 Content-Type: text/plain; charset=UTF-8 Hi Varun, I tried to increase this parameter but it did not increase number of parallel tasks but if It is decreased then YARN reduces number of parallel tasks. I'm bit puzzled why its not increasing more than 31 tasks even after its value is increased. Is there any other configuration as well which controls on how many maximum tasks can execute in parallel? Regards, Sandeep On Tue, Nov 3, 2015 at 7:29 PM, Varun Vasudev wrote: > The number of parallel tasks that are run depends on the amount of memory > and vcores on your machines and the amount of memory and vcores required by > your mappers and reducers. The amount of memory can be set > via yarn.nodemanager.resource.memory-mb(the default is 8G). The amount of > vcores can be set via yarn.nodemanager.resource.cpu-vcores(the default is > 8 vcores). > > -Varun > > From: sandeep das > Reply-To: > Date: Monday, November 2, 2015 at 3:56 PM > To: > Subject: Max Parallel task executors > > Hi Team, > > I've a cloudera cluster of 4 nodes. Whenever i submit a job my only 31 > parallel tasks are executed whereas my machines have more CPU available but > still YARN/AM does not create more task. > > Is there any configuration which I can change to start more MAP/REDUCER > task in parallel? > > Each machine in my cluster has 24 CPUs. > > Regards, > Sandeep > --001a11c12fd66f202c0523dde943 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hi Varun,

I tried to increase = this parameter but it did not increase number of parallel tasks but if It i= s decreased then YARN reduces number of parallel tasks. I'm bit puzzled= why its not increasing more than 31 tasks even after its value is increase= d.

Is there any other configuration as well which control= s on how many maximum tasks can execute in parallel?

Regards,
Sandeep

On Tue, Nov 3, 2015 at 7:29 PM, Varun Vasudev <vvasu= dev@apache.org> wrote:
The number of parallel tasks that are ru= n depends on the amount of memory and vcores on your machines and the amoun= t of memory and vcores required by your mappers and reducers. The amount of= memory can be set via=C2=A0yarn.nodemanager.resource.memory-mb(the default= is 8G). The amount of vcores can be set via=C2=A0yarn.nodemanager.r= esource.cpu-vcores(the default is 8 vcores).

-Varu= n

From: sandeep das &l= t;yarnhadoop@gmai= l.com>
Reply-To: <user@hadoop.apache= .org>
Date: Monday, Nove= mber 2, 2015 at 3:56 PM
To: <= ;user@hadoop.ap= ache.org>
Subject: Max P= arallel task executors

Hi Team,

I've a cloudera c= luster of 4 nodes. Whenever i submit a job my only 31 parallel tasks are ex= ecuted whereas my machines have more CPU available but still YARN/AM does n= ot create more task.

Is there any configuration which I can c= hange to start more MAP/REDUCER task in parallel?

Each ma= chine in my cluster has 24 CPUs.

Regards,
= Sandeep

--001a11c12fd66f202c0523dde943--