Return-Path: X-Original-To: apmail-hadoop-common-user-archive@www.apache.org Delivered-To: apmail-hadoop-common-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 266E717537 for ; Tue, 3 Feb 2015 07:52:28 +0000 (UTC) Received: (qmail 29894 invoked by uid 500); 3 Feb 2015 07:52:16 -0000 Delivered-To: apmail-hadoop-common-user-archive@hadoop.apache.org Received: (qmail 29780 invoked by uid 500); 3 Feb 2015 07:52:16 -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 29770 invoked by uid 99); 3 Feb 2015 07:52:16 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 03 Feb 2015 07:52:16 +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 para.vikas@gmail.com designates 209.85.213.179 as permitted sender) Received: from [209.85.213.179] (HELO mail-ig0-f179.google.com) (209.85.213.179) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 03 Feb 2015 07:52:11 +0000 Received: by mail-ig0-f179.google.com with SMTP id l13so22761501iga.0 for ; Mon, 02 Feb 2015 23:51:51 -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=OJugTops5swOVhHf81AZO8cWxUeql4t0lQlZqiitu3U=; b=gy0rQi3G4LOYYt/8ufUsQSCd70VakoMJyfdpOS9R5mGQvCSJCrxRK0Hc88gERocAqs eWjzdNw+zPQCGAQSqtCqc85HsAts9SXfVjXLaViqjGPQFUrJJkLeOs77Vx+mgWiSjoNz v4Vu4hk9Sry/60T2R0KfrVscdP4zQKlkthESi7PiSwYQ61SsWxB4DmH0ij4blFzGV/d7 h8fMznOMUeN8K0XJ96rnKgeErKCWELVPpdcPx8YrYUrPntb52V1AIklCYMn5e06FAEZK BcY15vYQbBfI6GWPGDTc/PgqICeWu3nRfpbMT2oEkyYphljbpRBsaU8RFdoY+oYRLfaw tvmQ== MIME-Version: 1.0 X-Received: by 10.42.6.197 with SMTP id b5mr22574177icb.83.1422949911491; Mon, 02 Feb 2015 23:51:51 -0800 (PST) Received: by 10.36.28.207 with HTTP; Mon, 2 Feb 2015 23:51:51 -0800 (PST) In-Reply-To: References: Date: Tue, 3 Feb 2015 13:21:51 +0530 Message-ID: Subject: Re: set default queue for user From: Vikas Parashar To: user@hadoop.apache.org Content-Type: multipart/alternative; boundary=001a11346fbc01fde3050e2a58da X-Virus-Checked: Checked by ClamAV on apache.org --001a11346fbc01fde3050e2a58da Content-Type: text/plain; charset=UTF-8 Thanks Naga! Let me try it out. On Mon, Feb 2, 2015 at 1:06 PM, Naganarasimha G R (Naga) < garlanaganarasimha@huawei.com> wrote: > Hi Vikas, > To a small scale user to queue mapping was supported as part of > YARN-2411, > Please refer the following configurations : > > yarn.scheduler.capacity.queue-mappings > > > A list of mappings that will be used to assign jobs to queues > The syntax for this list is [u|g]:[name]:[queue_name][,next mapping]* > Typically this list will be used to map users to queues, > for example, u:%user:%user maps all users to queues with the same > name > as the user. > > > > > yarn.scheduler.capacity.queue-mappings-override.enable > false > > If a queue mapping is present, will it override the value specified > by the user? This can be used by administrators to place jobs in > queues > that are different than the one specified by the user. > The default is false. > > > > Regards, > Naga > ------------------------------ > *From:* Vikas Parashar [para.vikas@gmail.com] > *Sent:* Monday, February 02, 2015 12:18 > *To:* user@hadoop.apache.org > *Subject:* set default queue for user > > Hello folks, > > Could any body please let us know how can i assign a particular queue to > my user. My scenario is > > Scheduler -> Capacity scheduler > Having 3 queue:-> A, B and C > Users -> user1, user2 and user3 > > Now, what i am looking from above scenario. > > > - if user1 submit any job that should automatically go to queue A. > - if user2 submit any job that should automatically go to queue B > - if user3 submit any job that should automatically go to queue C. > > So, can anybody put some light on it; how can i make a default queue for > any user1,2 and 3. > > Note** I don't want to define queue name at the run time(explicitly). > > > Rg:- > Vicky > --001a11346fbc01fde3050e2a58da Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Thanks Naga!

Let me try it out.

On Mon, Feb 2= , 2015 at 1:06 PM, Naganarasimha G R (Naga) <garlanaganarasi= mha@huawei.com> wrote:
Hi Vikas,
To a small scale user to queue mapping was supported as part of YARN-2= 411,=C2=A0
Please refer the following configurations =C2=A0:
=C2=A0<property>
=C2=A0 =C2=A0 <name>yarn.scheduler.capacity.queue-mappings</n= ame>
=C2=A0 =C2=A0 <value></value>
=C2=A0 =C2=A0 <description>
=C2=A0 =C2=A0 =C2=A0 A list of mappings that will be used to assign jo= bs to queues
=C2=A0 =C2=A0 =C2=A0 The syntax for this list is [u|g]:[name]:[queue_n= ame][,next mapping]*
=C2=A0 =C2=A0 =C2=A0 Typically this list will be used to map users to = queues,
=C2=A0 =C2=A0 =C2=A0 for example, u:%user:%user maps all users to queu= es with the same name
=C2=A0 =C2=A0 =C2=A0 as the user.
=C2=A0 =C2=A0 </description>
=C2=A0 </property>

=C2=A0 <property>
=C2=A0 =C2=A0 <name>yarn.scheduler.capacity.queue-mappings-overr= ide.enable</name>
=C2=A0 =C2=A0 <value>false</value>
=C2=A0 =C2=A0 <description>
=C2=A0 =C2=A0 =C2=A0 If a queue mapping is present, will it override t= he value specified
=C2=A0 =C2=A0 =C2=A0 by the user? This can be used by administrators t= o place jobs in queues
=C2=A0 =C2=A0 =C2=A0 that are different than the one specified by the = user.
=C2=A0 =C2=A0 =C2=A0 The default is false.
=C2=A0 =C2=A0 </description>
=C2=A0 </property>

Regards,
Naga

Fro= m: Vikas Parashar [para.vikas@gmail.com]
Sent: Monday, February 02, 2015 12:18
To: user= @hadoop.apache.org
Subject: set default queue for user

Hello folks,

Could any body please let us know how can i a= ssign a particular queue to my user. My scenario is=C2=A0

Scheduler -> Capacity scheduler=C2=A0
Having 3 queue:-> =C2=A0 A, B and C
Users =C2=A0-> user1, user2 and user3

Now, what i am looking from above scenario.

  • if user1 submit any job that should automati= cally go to queue A.
  • if user2 submit any job that should aut= omatically go to=C2=A0queue B
  • if user3 s= ubmit any job that should=C2=A0automatically go to=C2=A0queue C.
So, can anybody put some light on it; how can i make a default queue f= or any user1,2 and 3.

Note** I don't want to define queue name at the run time(explicitl= y). =C2=A0


Rg:-
Vicky

--001a11346fbc01fde3050e2a58da--