Options
- Subscribe to RSS Feed
- Mark Question as New
- Mark Question as Read
- Float this Question for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
Solved
Go to solution
Where can I configure sentry policies in cloudera manager 5.1?
Labels:
- Labels:
-
Apache Hive
-
Apache Sentry
-
Cloudera Manager
Contributor
Created on ‎08-27-2014 04:30 PM - edited ‎09-16-2022 02:06 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
When I was trying to selecting "Enable Sentry Authorization using Policy Files" and click save in Hive configuration, cloudera manager shows:
- Sentry authorization cannot be enabled using both policy files and Sentry service at the same time.
Because I used both sentry service and policy based sentry here. Does anyone knows where can I configure policies or its counterparts with cloudera manager? Does the new sentry service still maintain sentry-provider.ini? Thanks!
Innovation Never Die
1 ACCEPTED SOLUTION
Guru
Created ‎08-27-2014 04:41 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Sentry service stores policy information in a relational database, whereas the Policy File implementation uses a file. You should never use both at the same time as that would be redundant. When using Sentry service, you issue grants and revokes via the HiveServer2 client beeline.
The descriptions for the Sentry configuration in the CM UI have links to documentation explaining the usage, which should answer all of your questions.
Thanks,
Darren
Sentry service stores policy information in a relational database, whereas the Policy File implementation uses a file. You should never use both at the same time as that would be redundant. When using Sentry service, you issue grants and revokes via the HiveServer2 client beeline.
The descriptions for the Sentry configuration in the CM UI have links to documentation explaining the usage, which should answer all of your questions.
Thanks,
Darren
1 REPLY 1
Guru
Created ‎08-27-2014 04:41 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Sentry service stores policy information in a relational database, whereas the Policy File implementation uses a file. You should never use both at the same time as that would be redundant. When using Sentry service, you issue grants and revokes via the HiveServer2 client beeline.
The descriptions for the Sentry configuration in the CM UI have links to documentation explaining the usage, which should answer all of your questions.
Thanks,
Darren
Sentry service stores policy information in a relational database, whereas the Policy File implementation uses a file. You should never use both at the same time as that would be redundant. When using Sentry service, you issue grants and revokes via the HiveServer2 client beeline.
The descriptions for the Sentry configuration in the CM UI have links to documentation explaining the usage, which should answer all of your questions.
Thanks,
Darren
