Archives of Support Questions (Read Only)

This is an archived board for historical reference. Information and links may no longer be available or relevant
Announcements
This board is archived and read-only for historical reference. To ask a new question, please post a new topic on the appropriate active board.

how to add particular user to particular yarn queue ?

avatar

I want to add particular user let's say am to particular yarn queue q1 ?

1 ACCEPTED SOLUTION

avatar
@Anurag Mishra

Hi You can use the following properties:

Note: These settings can be accessed from Ambari > YARN > Configs > Scheduler or in conf/capacity-scheduler.xml.

--1. For adding users who can submit jobs
<property> 
<name>yarn.scheduler.capacity.root.test.acl_submit_applications</name>
<value>user1 group1, user2, user3 group 2</value>
<description> The ACL of who can submit jobs to the test queue. </description>
</property>

--2. For administering a queue
<property>     
<name>yarn.scheduler.capacity.root.test.acl_administer_queue</name>
<value>user5 group5</value> 
<description> The ACL of who can administer jobs on the test queue.</description>
</property>


View solution in original post

1 REPLY 1

avatar
@Anurag Mishra

Hi You can use the following properties:

Note: These settings can be accessed from Ambari > YARN > Configs > Scheduler or in conf/capacity-scheduler.xml.

--1. For adding users who can submit jobs
<property> 
<name>yarn.scheduler.capacity.root.test.acl_submit_applications</name>
<value>user1 group1, user2, user3 group 2</value>
<description> The ACL of who can submit jobs to the test queue. </description>
</property>

--2. For administering a queue
<property>     
<name>yarn.scheduler.capacity.root.test.acl_administer_queue</name>
<value>user5 group5</value> 
<description> The ACL of who can administer jobs on the test queue.</description>
</property>