- Subscribe to RSS Feed
- Mark Question as New
- Mark Question as Read
- Float this Question for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
CDP Ranger permissions creation script
Created on ‎06-23-2021 09:25 PM - edited ‎09-16-2022 07:42 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi All,
We have a Script for creating - HDFS directories , hive database and HBase namespace and also giving permissions as well in a script in CDH environment with Sentry.
we have created roles and granting permission to the groups on database level through same script.
Now ,we have a different cluster with CDP and we want to update the script for Ranger.
Can anyone help us can we use same script(database permission) for CDP with ranger or do we need to make any changes?
Thanks
Srini Podili
Created ‎06-30-2021 11:43 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You can replace the sentry part of your script with Apache ranger API to create/update/delete ranger policies, example here Ranger RestAPIs for Creating, Updating, Deleting, and Searching Policies in Big SQL - Hadoop Dev (ib...
