Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
Impala 1.3
-
None
-
None
Description
Consider the following workflow:
1. Upload my_functions.so to HDFS
2. Create some UDFs using my_functions.so in Impala
3. Upload a new version of my_functions.so containing a new function to HDFS
4. Attempt to create the new UDF in Impala
Impala will throw a "Could not find function" AnalysisException because the impalad will not refresh the local cached copy of my_functions.so. Impala should always reload the library when a new function is created.
As a workaround, dropping one of the original functions will cause the cached copy to be dropped, and the new version be loaded when a function is created or one of the remaining functions is called.