Created on 02-20-2016 06:59 PM - edited 09-16-2022 03:05 AM
Need to know how can I enforce restriction on Ambari view and stuff. Below is what is happening: a.) I create an user account in Ambari b.) Created File and Hive views in Ambari c.) Assign permission only to this user account to the above created views d.) created an account via HDFS ( command below) What I noticed is account created this way can view everyone else's directory via Ambari file browser view. what I want is all he should be seeing is his user folder and access to upload data and create view. How can I enforce this restriction. [hdfs@hdp-m ~]$ hadoop fs -mkdir /user/guest1 [hdfs@hdp-m ~]$ hadoop fs -chown admin:hadoop /user/guest1
Created 02-20-2016 07:11 PM
Next step is to install ranger
You can manage hdfs and hive access from there
Created 02-20-2016 07:11 PM
Created 02-20-2016 07:50 PM
Demo
https://community.hortonworks.com/content/kbentry/10235/apache-ranger-and-hdfs.html
See the demo on hdfs
Created 02-20-2016 07:51 PM
Created 02-20-2016 07:28 PM
Have a look at this doc Fine-Grained Permission with HDFS ACLs
Created 02-20-2016 08:38 PM
awesome @Neeraj Sabharwal
Thanks
Created 02-20-2016 08:53 PM
@Prakash Punj Looking forward to hear your feedback on Ranger ...Personally, I love Ranger 🙂