Created on 06-22-2015 01:31 PM - edited 09-16-2022 02:32 AM
Hi dear experts!
i following the instruction:
and trying to set some user restrictions for different resource pool.
for example i have two dynamic resource pool - production and test + default resourse pool.
i would like to allow apply jobs in production pool only for user1 and hdfs users. For test - user2. Other could apply jobs for default pool.
i think this instruction explain how to do this, but i'm not able to do this:
any advice is apreciate!
Created 06-23-2015 05:29 PM
You need to start from the top: root first and then down. If you allow anybody to submit and admin the root queue there is nothing to enforce on the sub queues.
As I explained in the linked post and as it shows in the explanantion in the screen shot.
Wilfred
Created 06-22-2015 07:57 PM
I can's see the screenshots that were added to the message but setting the ACL for the queue is described here follow the steps.
You must add the "yarn" user to the overall YARN Admin ACL. Remove the root queue admin and submit ACL's otherwise things will not work. See my post in one of the other threads on this forum.
The for the queue ACL you set the submit ACL for the production queue to: hdfs,user1
The test queue would get the submit ACL as: user2
For the default queue you can set the submit ACL to: "*"
Wilfred
Created 06-23-2015 07:21 AM
i tried follow by exaclty the same instructions, but my ACL, doesn't works.
i seted it:
yarn.admin.acl = yarn,oracle,hdfs.
save, restart. go to the root.hdfs pool settings. go to the "submit acsess control" then. but it unavailable.
as showed at the picture.
if you still now able to observe it, could you please advice how to share this imagies with you?
thanks!
Created 06-23-2015 05:29 PM
You need to start from the top: root first and then down. If you allow anybody to submit and admin the root queue there is nothing to enforce on the sub queues.
As I explained in the linked post and as it shows in the explanantion in the screen shot.
Wilfred
Created 06-30-2015 07:40 AM