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?