Return-Path: X-Original-To: apmail-hadoop-hdfs-user-archive@minotaur.apache.org Delivered-To: apmail-hadoop-hdfs-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 EBB7311D2D for ; Wed, 6 Aug 2014 11:01:33 +0000 (UTC) Received: (qmail 44585 invoked by uid 500); 6 Aug 2014 11:01:29 -0000 Delivered-To: apmail-hadoop-hdfs-user-archive@hadoop.apache.org Received: (qmail 44449 invoked by uid 500); 6 Aug 2014 11:01:29 -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 44439 invoked by uid 99); 6 Aug 2014 11:01:29 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 06 Aug 2014 11:01:29 +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 mirko.kaempf@gmail.com designates 209.85.192.174 as permitted sender) Received: from [209.85.192.174] (HELO mail-pd0-f174.google.com) (209.85.192.174) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 06 Aug 2014 11:01:26 +0000 Received: by mail-pd0-f174.google.com with SMTP id fp1so3120313pdb.19 for ; Wed, 06 Aug 2014 04:01:01 -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=ILbnkxCvjnWUWdCWrhCCiiPai3tl426QFBQwm+GXuuU=; b=rncc9JFt+EMBBMm1J3X+1RMTd6rxlXqBss1Hf2TnEkq0nljyerbYHSoVDWDaaq3BbI L/3lwRy5F7wcJl4N73+C/OfjFveLw1w+/WyZV3s5x3hwfrp19dfXrgKPPddyNj/PMyPg XnHcuWDxgDOwlxWi6JS+X+SOuMGPXsS7/vnShD7MylKbL+cxVWhBQheBcwhP1gskcgBH aB4d2HiYmfPzJQFEsYC4cD0NmnQ2r4HAg0YlJ5AwdKlON38nNi3ZjlIziDuYQGPLadnw dUNIioq/MEQPYRMihAkK7PNYy9vlqWIoRhD2JncA57wiiahQTHqXAeXD6A8ZU4eQiggz LgxQ== X-Received: by 10.66.236.161 with SMTP id uv1mr10658207pac.85.1407322861310; Wed, 06 Aug 2014 04:01:01 -0700 (PDT) MIME-Version: 1.0 Received: by 10.66.163.41 with HTTP; Wed, 6 Aug 2014 04:00:41 -0700 (PDT) In-Reply-To: References: From: =?UTF-8?B?TWlya28gS8OkbXBm?= Date: Wed, 6 Aug 2014 12:00:41 +0100 Message-ID: Subject: Re: YARN Application Master Question To: "user@hadoop.apache.org" Content-Type: multipart/alternative; boundary=001a113817003b9c0104fff3e3a3 X-Virus-Checked: Checked by ClamAV on apache.org --001a113817003b9c0104fff3e3a3 Content-Type: text/plain; charset=UTF-8 In this case you would have 3 AM for MR jobs and 2 more AMs, one for each Giraph job. Makes a total of 5 AMs. Cheers, Mirko 2014-08-06 11:57 GMT+01:00 Ana Gillan : > Hi, > > In the documentation and papers about Apache YARN, they say that an > Application Master is launched for every application and it is this that > manages resources and scheduling for applications on Hadoop. > > For example, if you submit 3 MapReduce jobs, and 2 Giraph jobs to your > cluster, does the Resource Manager spawn 2 AMs (one to manage all MapReduce > jobs and one to manage all Giraph jobs) or does it spawn 5 AMs (one for > each job)? > > Thanks! > Ana > --001a113817003b9c0104fff3e3a3 Content-Type: text/html; charset=UTF-8
In this case you would have 3 AM for MR jobs and 2 more AMs, one for each Giraph job.
Makes a total of 5 AMs.

Cheers,
Mirko



2014-08-06 11:57 GMT+01:00 Ana Gillan <ana.gillan@gmail.com>:
Hi,

In the documentation and papers about Apache YARN, they say that an Application Master is launched for every application and it is this that manages resources and scheduling for applications on Hadoop.

For example, if you submit 3 MapReduce jobs, and 2 Giraph jobs to your cluster, does the Resource Manager spawn 2 AMs (one to manage all MapReduce jobs and one to manage all Giraph jobs) or does it spawn 5 AMs (one for each job)?

Thanks!
Ana

--001a113817003b9c0104fff3e3a3--