Support Questions

Find answers, ask questions, and share your expertise

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>