- Subscribe to RSS Feed
- Mark Question as New
- Mark Question as Read
- Float this Question for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
Ambari view access and control
Created on ‎02-20-2016 06:59 PM - edited ‎09-16-2022 03:05 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Next step is to install ranger
You can manage hdfs and hive access from there
Created ‎02-20-2016 07:11 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Created ‎02-20-2016 07:50 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Created ‎02-20-2016 07:28 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Have a look at this doc Fine-Grained Permission with HDFS ACLs
Created ‎02-20-2016 08:38 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
awesome @Neeraj Sabharwal
Thanks
Created ‎02-20-2016 08:53 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
@Prakash Punj Looking forward to hear your feedback on Ranger ...Personally, I love Ranger 🙂
