[
https://issues.apache.org/jira/browse/IMPALA-8016?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Quanlong Huang resolved IMPALA-8016.
------------------------------------
Fix Version/s: Impala 3.2.0
Resolution: Fixed
> 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 Martin
> Assignee: Philip Martin
> Priority: Critical
> Fix For: Impala 3.2.0
>
>
> 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
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]