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 48E961798B for ; Tue, 28 Apr 2015 00:08:50 +0000 (UTC) Received: (qmail 62052 invoked by uid 500); 28 Apr 2015 00:08:44 -0000 Delivered-To: apmail-hadoop-mapreduce-user-archive@hadoop.apache.org Received: (qmail 61922 invoked by uid 500); 28 Apr 2015 00:08:43 -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 61902 invoked by uid 99); 28 Apr 2015 00:08:43 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 28 Apr 2015 00:08:43 +0000 X-ASF-Spam-Status: No, hits=2.0 required=5.0 tests=FSL_HELO_BARE_IP_2,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: message received from 54.76.25.247 which is an MX secondary for user@hadoop.apache.org) Received: from [54.76.25.247] (HELO mx1-eu-west.apache.org) (54.76.25.247) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 28 Apr 2015 00:08:16 +0000 Received: from relayvx12c.securemail.intermedia.net (relayvx12c.securemail.intermedia.net [64.78.52.187]) by mx1-eu-west.apache.org (ASF Mail Server at mx1-eu-west.apache.org) with ESMTPS id ABCD12A87C for ; Tue, 28 Apr 2015 00:08:14 +0000 (UTC) Received: from securemail.intermedia.net (localhost [127.0.0.1]) by emg-ca-1-2.localdomain (Postfix) with ESMTP id 2755153E20 for ; Mon, 27 Apr 2015 17:07:52 -0700 (PDT) Subject: Re: in YARN/MR2, can I still submit multiple jobs to one MR application master? MIME-Version: 1.0 x-echoworx-emg-received: Mon, 27 Apr 2015 17:07:52.109 -0700 x-echoworx-msg-id: c5859990-0603-434b-8b78-6bee58312945 x-echoworx-action: delivered Received: from 10.254.155.17 ([10.254.155.17]) by emg-ca-1-2 (JAMES SMTP Server 2.3.2) with SMTP ID 458 for ; Mon, 27 Apr 2015 17:07:52 -0700 (PDT) Received: from MBX080-W4-CO-1.exch080.serverpod.net (unknown [10.224.117.101]) by emg-ca-1-2.localdomain (Postfix) with ESMTP id E323F53E20 for ; Mon, 27 Apr 2015 17:07:51 -0700 (PDT) Received: from MBX080-W4-CO-2.exch080.serverpod.net (10.224.117.102) by MBX080-W4-CO-1.exch080.serverpod.net (10.224.117.101) with Microsoft SMTP Server (TLS) id 15.0.1044.25; Mon, 27 Apr 2015 17:07:50 -0700 Received: from MBX080-W4-CO-2.exch080.serverpod.net ([10.224.117.102]) by mbx080-w4-co-2.exch080.serverpod.net ([10.224.117.102]) with mapi id 15.00.1044.021; Mon, 27 Apr 2015 17:07:50 -0700 From: Vinod Kumar Vavilapalli To: "user@hadoop.apache.org" Thread-Topic: in YARN/MR2, can I still submit multiple jobs to one MR application master? Thread-Index: AQHQgTn+7o+8pgt1rkCNTTpWCWCqup1iAaCA Date: Tue, 28 Apr 2015 00:07:50 +0000 Message-ID: References: In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-exchange-transport-fromentityheader: Hosted x-originating-ip: [192.175.27.15] x-source-routing-agent: Processed Content-Type: text/plain; charset="us-ascii" Content-ID: <8057AEA59E91CA478057B54EC408618B@exch080.serverpod.net> Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org The MapReduce ApplicationMaster supports only one job. You can say that (YA= RN ResourceManager + a bunch of MR ApplicationMasters (one per job) =3D Job= Tracker). Tez does have a notion of multiple DAGs per YARN app. For your specific use-case, you can force that user to a queue and limit ho= w much he/she can access. Thanks +Vinod On Apr 27, 2015, at 3:30 PM, Yang wrote: > conceptually, the MR application master is similar to the old job tracker= . >=20 > if so, can I submit multiple jobs to the same MR application master? it = looks like an odd use case, the context is that we have users generating lo= ts of MR jobs, and he currently has a little crude scheduler that periodica= lly launches jobs to the RM by just "hadoop jar ..." >=20 > instead I was thinking to "carve out" a MR2 allocation in RM first, then = periodically submit to the "job tracker"/application master, so that all th= e jobs are localized to this allocation. >=20 >=20 > I was also thinking about using Tez instead of MR application master. Tez= replaces MR2 application master, not on top of it, right? >=20 > Thanks > Yang