Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

unload UDFs without hive restart

Solved Go to solution

unload UDFs without hive restart

New Contributor

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

Accepted Solutions

Re: unload UDFs without hive restart

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?
1 REPLY 1

Re: unload UDFs without hive restart

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?