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 3AE1AD1E9 for ; Mon, 19 Nov 2012 20:12:27 +0000 (UTC) Received: (qmail 75829 invoked by uid 500); 19 Nov 2012 20:12:27 -0000 Delivered-To: apmail-hadoop-yarn-dev-archive@hadoop.apache.org Received: (qmail 75780 invoked by uid 500); 19 Nov 2012 20:12:27 -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 75765 invoked by uid 99); 19 Nov 2012 20:12:27 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 19 Nov 2012 20:12:27 +0000 X-ASF-Spam-Status: No, hits=0.0 required=5.0 tests=RCVD_IN_DNSWL_NONE,SPF_PASS,UNPARSEABLE_RELAY X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [98.139.52.220] (HELO nm23.bullet.mail.ac4.yahoo.com) (98.139.52.220) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 19 Nov 2012 20:12:18 +0000 Received: from [98.139.52.189] by nm23.bullet.mail.ac4.yahoo.com with NNFMP; 19 Nov 2012 20:11:57 -0000 Received: from [76.13.13.43] by tm2.bullet.mail.ac4.yahoo.com with NNFMP; 19 Nov 2012 20:11:57 -0000 Received: from [127.0.0.1] by smtp104.prem.mail.ac4.yahoo.com with NNFMP; 19 Nov 2012 20:11:57 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1353355917; bh=/y3Ggihv0jf1Z/rcFvRldBaqN2AyNWRKbEWZpTtzKRs=; h=X-Yahoo-Newman-Id:X-Yahoo-Newman-Property:X-YMail-OSG:X-Yahoo-SMTP:Received:Message-ID:Date:From:User-Agent:MIME-Version:To:Subject:Content-Type:Content-Transfer-Encoding; b=t5BCaETumds16OzCWCbgp00x0j10uRTxcWDbyPmBjnsAnzM6YiSyjPDh0odIq05mRRYJ+oLDOUqfVn7BqLcMSUBFgekNhS7omlFJSVB3M1WakegZBgvjaaFcgFt9PFneR/MibqU6TYtveTCmfixJhO1CoVNF8zjJh+YInuofK4w= X-Yahoo-Newman-Id: 97678.20121.bm@smtp104.prem.mail.ac4.yahoo.com X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: jFB2QkQVM1keqAA5iE1VEYd0ewP8iPxH.SB63UbfZcjyY_q zWTcWE2uCXANkdjcPfrfiMkIASjdEC1GNRAuRQL.V4.yu05A3EKy8k0TIALn S5axeFwjbL6w4J8.B12FLvGDBolOVZj3KtIrF6yPBnotHqtHb_DdMCgK3QNu HFA4FNqUS83rV2fWZCzlT0n6f0H6fdsDU.QyfGf2ix5oGeLyy_ls5Ky.fRjA z6uhhdsg5IQcqFw1zwMeqGrVMe4uqpGl8z_uy4c7.stZG_r6ZEboyOn9NFB1 i5EdggqJDyMSNcc_69gpov6oewgpTS_Rg8nDj0HOCldQpBBGb6tsoE108Hp9 9jtl2tYKN82FYyvbBzO6FVD13s2b.3ArD6WU8GOd0LYdcR7bQPHyNJnNh4Iq s8x.m.qEvJjghN7ppFUjBhIcFQ6Y3jDNrE1A_E4lDlty6lCFOlZLpxFtXGs5 Ql4nK0bc- X-Yahoo-SMTP: ZvR6Aa.swBBi9aze9_P4M914Ag-- Received: from netbook.local (vborky@59.182.171.136 with plain) by smtp104.prem.mail.ac4.yahoo.com with SMTP; 19 Nov 2012 12:11:57 -0800 PST Message-ID: <50AA928E.7080907@yahoo.com> Date: Mon, 19 Nov 2012 12:11:58 -0800 From: Vinayak Borkar User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:16.0) Gecko/20121026 Thunderbird/16.0.2 MIME-Version: 1.0 To: yarn-dev@hadoop.apache.org Subject: Specifying the host name to launch the Application Master Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Hi, I am in the process of writing an application to work with Yarn. In my application, I would like to have the Application Master be launched on a particular host (at least while testing). However, the ContainerLaunchContext interface only accepts a Resource that can specify the amount of memory needed for the container. I do not see an interface like the ResourceRequest that allows the specification of a host name to launch the container. Is there a way to get the Application Master to run on a specific host? Thanks, Vinayak