07-31-2015 05:32 AM
I tried to blacklist users by putting them in banned users( YARN Configuration->Banned Users List) list but it didn't work.
How can I do this in a kerberos enabled cluster?
By this, I mean the banning the users from accessing HDFS directories, running spark jobs etc.
08-02-2015 07:20 PM
For YARN you can setup ACL's on the queues. It is a allow the user/group on the list, not block the user/group on the list.
For HDFS you also have ACL's which is completely separate and works just like any other file system.
08-03-2015 03:04 AM
08-03-2015 03:14 AM
Thanks for your reply.
My intention here is to not allow any users to run spark jobs for example. Since spark runs on Yarn, my assumption was giving only few users access will help secure my cluster and prevent everyone from submitting spark jobs.
But even though I set the ACL's , any user is able to submit spark jobs.
Any help on how to solve?
Thanks, your help is much appreciated.
08-03-2015 05:50 AM
Make sure you have an ACL set on the root queue also. ACL's are checked up the tree. If you have access to the parent queue you have access to anything below that. You can not have a * (star) anywhere in the tree.
Also check the admin ACL.