You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@impala.apache.org by "Philip Zeyliger (JIRA)" <ji...@apache.org> on 2018/12/26 18:21:00 UTC
[jira] [Created] (IMPALA-8016) UDFs unable to use other functions
defined in same jar
Philip Zeyliger created IMPALA-8016:
---------------------------------------
Summary: UDFs unable to use other functions defined in same jar
Key: IMPALA-8016
URL: https://issues.apache.org/jira/browse/IMPALA-8016
Project: IMPALA
Issue Type: Task
Components: Frontend
Reporter: Philip Zeyliger
Assignee: Philip Zeyliger
The fix for IMPALA-7668 introduced a bug wherein a UDF calling other functions within the same jar would fail with errors like:
{code}
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
{code}
I believe this is caused by over-eagerly closing the associated class loader, which was introduced recently in IMPALA-7668.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)