Our Community is getting an upgrade! To get everything ready for the relaunch, we’ll be placing the site in read-only mode starting September 21st.
We really appreciate your understanding while we get things set up behind the scenes. Catch up on all the exciting details about the move here.
Need help or have questions? Drop us a line at [email protected]

Archives of Support Questions (Read Only)

This is an archived board for historical reference. Information and links may no longer be available or relevant
Announcements
This board is archived and read-only for historical reference. To ask a new question, please post a new topic on the appropriate active board.

unload UDFs without hive restart

avatar
Explorer

Good day,

are there ways to unload UDFs without restarting hive service?

 

  1. A new jar was added to folder (hive.reloadable.aux.jars.path).
  2. User created a temporary function in Hue Hive query UI.
  3. Function (jar) updated - class name is the same, jar file name is different.
  4. This updated jar is uploaded to folder (hive.reloadable.aux.jars.path).
  5. Hue Hive has the old (first one) UDF without added functionality.

 

Maybe there's a command to unload/purge/clean dynamic UDFs beeline or hue api?

1 ACCEPTED SOLUTION

avatar
Super Guru
Have you tried to DROP FUNCTION and then RELOAD to reload the new JAR file? And then re-CREATE the function to see if it will work?

View solution in original post

1 REPLY 1

avatar
Super Guru
Have you tried to DROP FUNCTION and then RELOAD to reload the new JAR file? And then re-CREATE the function to see if it will work?