Details
-
Task
-
Status: Resolved
-
Critical
-
Resolution: Fixed
-
None
-
None
-
ghx-label-1
Description
The fix for IMPALA-7668 introduced a bug wherein a UDF calling other functions within the same jar would fail with errors like:
WARNINGS: UDF WARNING: Hive UDF path=hdfs://localhost:20500/test-warehouse/impala-hive-udfs2.jar class=org.apache.impala.ImportsNearbyClassesUdf failed due to: ImpalaRuntimeException: UDF::evaluate() ran into a problem. CAUSED BY: ImpalaRuntimeException: UDF failed to evaluate CAUSED BY: InvocationTargetException: null CAUSED BY: NoClassDefFoundError: org/apache/impala/UtilForUdf CAUSED BY: ClassNotFoundException: org.apache.impala.UtilForUdf
I believe this is caused by over-eagerly closing the associated class loader, which was introduced recently in IMPALA-7668.
Attachments
Issue Links
- is related to
-
IMPALA-11342 Hive UDFs are unable to use classes from the same Jar in catalogd
- Resolved