Our Community is getting an upgrade! To get everything ready for the relaunch, we’ll be placing the site in read-only mode starting September 21st.
We really appreciate your understanding while we get things set up behind the scenes. Catch up on all the exciting details about the move here.
Need help or have questions? Drop us a line at [email protected]

Support Questions

Find answers, ask questions, and share your expertise
Announcements
Share your experience with Cloudera on G2 and get a $25 Amazon Gift card.
Hi, I'm CLEO! Something exciting is coming to the Community. Stay Tuned!

HDP 3.1 managing ACL access not working in ambari

avatar
Explorer

There is a really good article in IBM documentation about managing queue access with ACLs

(https://developer.ibm.com/hadoop/2017/06/30/managing-queue-access-acls/)

 

However when I change the ACL config and add specific group:

yarn.scheduler.capacity.root.default.acl_submit_applications=yarn,ambari-qa,clusterusers

 

And after I refresh queues with:

$mapred queue -showacls

 

I get the following output.

Queue acls for user : myuser

Queue Operations
=====================
root
default

 

My temporal solution was to set:

yarn.scheduler.capacity.root.default.acl_submit_applications=*

 

Which works (see the output):

Queue acls for user : myuser

Queue Operations
=====================
root
default SUBMIT_APPLICATIONS

 

Note: myuser is a part of a group clusterusers

 

I would like to know why this config does not work if I set some groups on my own. Any ideas?

1 ACCEPTED SOLUTION

avatar
Super Collaborator

If clusterusers is a group then you should have a space separator between users and groups in acl config. 

 

Something like 

 

yarn.scheduler.capacity.root.default.acl_submit_applications=yarn,ambari-qa clusterusers

View solution in original post

1 REPLY 1

avatar
Super Collaborator

If clusterusers is a group then you should have a space separator between users and groups in acl config. 

 

Something like 

 

yarn.scheduler.capacity.root.default.acl_submit_applications=yarn,ambari-qa clusterusers