Return-Path: X-Original-To: apmail-hadoop-yarn-dev-archive@minotaur.apache.org Delivered-To: apmail-hadoop-yarn-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 1EA95D913 for ; Fri, 14 Dec 2012 23:27:15 +0000 (UTC) Received: (qmail 24663 invoked by uid 500); 14 Dec 2012 23:27:15 -0000 Delivered-To: apmail-hadoop-yarn-dev-archive@hadoop.apache.org Received: (qmail 24590 invoked by uid 500); 14 Dec 2012 23:27:14 -0000 Mailing-List: contact yarn-dev-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: yarn-dev@hadoop.apache.org Delivered-To: mailing list yarn-dev@hadoop.apache.org Received: (qmail 24581 invoked by uid 99); 14 Dec 2012 23:27:14 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 14 Dec 2012 23:27:14 +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 lohit.vijayarenu@gmail.com designates 209.85.214.176 as permitted sender) Received: from [209.85.214.176] (HELO mail-ob0-f176.google.com) (209.85.214.176) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 14 Dec 2012 23:27:09 +0000 Received: by mail-ob0-f176.google.com with SMTP id un3so3994189obb.35 for ; Fri, 14 Dec 2012 15:26:48 -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=yPonuSqKoRpPaRpzG4GHqlgqfx3+vB50HshB5KCB+s4=; b=jdHMsBsF0QjgMJ2o5BUdzTId95eheSGatwzU539bnvX+bVNHp5gP7jUHIIEaY59VAn msvoeNJUpEJBrNBLl67QYfVMp4zzLMli5956is3FnV9ZVD8Zs23NOJ75KhwoJxnloipb e3Kou0+VviI4FDy8p/QEM0XHJQvEFDjUNFjLhDxiFhDxnM29ysV+rAC9LxuAS0EfaXXP UJdzUdm0687mN/QTuI8LN8N57SytbwiuhpqNZQ7UnyRHXJticv7GcyNWeMU3PG7qH8o7 hmHMCk2YZVS9FpVB2FRll2K0bA9xRozCafa/lQ3GEyThh4KGCBRiLa56fw5VFci6/63l 8Fhw== MIME-Version: 1.0 Received: by 10.182.131.100 with SMTP id ol4mr5999963obb.38.1355527608477; Fri, 14 Dec 2012 15:26:48 -0800 (PST) Received: by 10.76.168.234 with HTTP; Fri, 14 Dec 2012 15:26:48 -0800 (PST) In-Reply-To: References: Date: Fri, 14 Dec 2012 15:26:48 -0800 Message-ID: Subject: Re: Uneven distribution of container allocations From: lohit To: yarn-dev@hadoop.apache.org Content-Type: multipart/alternative; boundary=e89a8f6438bc9626b304d0d85df1 X-Virus-Checked: Checked by ClamAV on apache.org --e89a8f6438bc9626b304d0d85df1 Content-Type: text/plain; charset=UTF-8 Thanks Sandy, this worked. 2012/12/14 Sandy Ryza > Hi Lohit, > > Setting yarn.scheduler.fair.assignmultiple to false should give a more even > distribution of tasks. > > -Sandy > > On Fri, Dec 14, 2012 at 10:22 AM, lohit > wrote: > > > I should have mentioned. I was trying this on FairScheduler. > > I can try CapacityScheduler and see if that works. > > But this is pretty easy to reproduce as I described in the problem. > > > > 2012/12/14 Harsh J > > > > > Perhaps you can try YARN-80's > > > yarn.scheduler.capacity.node-locality-delay set to 1 for your > > > CapacityScheduler (are you using this or the Fifo)? > > > > > > On Fri, Dec 14, 2012 at 1:37 AM, lohit > > wrote: > > > > I am running hadoop-2.0.3 alpha branch. > > > > Right now I am trying TestDFSIO, where I would like to have even > > > > distribution of tasks. > > > > As soon as I submit job RM tends to allocate as many containers as > > > possible > > > > from subset of nodes. > > > > > > > > 2012/12/13 Thomas Graves > > > > > > > >> What kind of job are you running? What version of YARN? > > > >> > > > >> Tom > > > >> > > > >> On 12/13/12 12:24 AM, "lohit" wrote: > > > >> > > > >> >Hi Devs, > > > >> > > > > >> >I am running few experiments on YARN. On a 50 node cluster I run > only > > > one > > > >> >job. > > > >> >If I kick off job with 150 tasks, I would expect on an average 3 > > tasks > > > in > > > >> >containers per node. > > > >> >But I see many nodes end up having 29-30 containers spawned and > many > > > >> >without any tasks at all. > > > >> >Do I have to use some kind of parameter (delayed scheduling) to > > achieve > > > >> >even distribution? > > > >> > > > > >> >-- > > > >> >Have a Nice Day! > > > >> >Lohit > > > >> > > > >> > > > > > > > > > > > > -- > > > > Have a Nice Day! > > > > Lohit > > > > > > > > > > > > -- > > > Harsh J > > > > > > > > > > > -- > > Have a Nice Day! > > Lohit > > > -- Have a Nice Day! Lohit --e89a8f6438bc9626b304d0d85df1--