- Subscribe to RSS Feed
- Mark Question as New
- Mark Question as Read
- Float this Question for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
Managing Hive UDFs Using Ranger
- Labels:
-
Apache Hive
-
Apache Ranger
Created ‎02-17-2016 06:17 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Which Hive permissions do I need to set if I want to allow some users to use a certain UDF? Available Hive permissions are: create, drop, alter, select, update, index, lock but what I need for UDF is a kind of "allow" . Also, do I have to set "Delegate admin"?
Created on ‎02-17-2016 06:26 AM - edited ‎08-19-2019 12:50 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
This is Hive UDF Allow in Sandbox. And no you do not have to set Delegate Admin.
Created on ‎02-17-2016 06:26 AM - edited ‎08-19-2019 12:50 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
This is Hive UDF Allow in Sandbox. And no you do not have to set Delegate Admin.
Created ‎02-17-2016 06:30 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
@Ancil McBarnett Thanks for a quick reply. My question is do I have to set all those permissions at the bottom? And in this screenshot "Delegate admin" is checked.
Created ‎02-17-2016 06:39 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
if you just want to execute it, select is only needed. Remember UDFs are used in DDL and DML in a Hive Statement. So Select means you can use a UDF in a Select Statement in SQL.
Created ‎02-17-2016 06:52 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Okay, that makes sense: Accepted!
Created on ‎05-12-2016 10:59 AM - edited ‎08-19-2019 12:50 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi, I have hive.server2.enable.doAs set to true.
I have created a hive policy for qaadmin user to have access to only initcap() UDF which is builtin Hive UDF. But qaadmin user can access other built in UDFs too which user should not have access as per Hive Policy.
Note- qaadmin is only part of this policy.
Please help me how to make it work ?
