Support Questions

Find answers, ask questions, and share your expertise

Restricting UDF function access to fewer roles

avatar
Contributor

Recently we added few jars to the AUX jar location in our environments and I can see the desired functions from Hive and these functions are accessible by all users who are connecting to hadoop. Is there any way to restrict the newly added functions(added UDF jar file on all hive and HS2 servers) only to fewer users instead of all using roles? 

current env: CDH 6.21.

 

1 REPLY 1

avatar
Expert Contributor

Hello @raghu9raghavend,

 

You can use Sentry authorization for restricting access to UDF. Please refer to the below doc

https://docs.cloudera.com/documentation/enterprise/latest/topics/impala_udf.html#udf_security

 

Let us know if this helps!

 

Cheers!

Was your question answered? Make sure to mark the answer as the accepted solution.

If you find a reply useful, say thanks by clicking on the thumbs up button.