Support Questions

Find answers, ask questions, and share your expertise

Restricting UDF function access to fewer roles


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.



Rising Star

Hello @raghu9raghavend,


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


Let us know if this helps!



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.