hadoop-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Naganarasimha G R (Naga)" <garlanaganarasi...@huawei.com>
Subject RE: set default queue for user
Date Mon, 02 Feb 2015 07:36:13 GMT
Hi Vikas,
To a small scale user to queue mapping was supported as part of YARN-2411,
Please refer the following configurations  :
      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.

      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.

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

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).


View raw message