You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues-all@impala.apache.org by "Quanlong Huang (Jira)" <ji...@apache.org> on 2022/09/18 14:04:00 UTC
[jira] [Reopened] (IMPALA-8016) UDFs unable to use other functions defined in same jar
[ https://issues.apache.org/jira/browse/IMPALA-8016?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Quanlong Huang reopened IMPALA-8016:
------------------------------------
Reopen to set the "Fix versions"
> 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
>
> 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: issues-all-unsubscribe@impala.apache.org
For additional commands, e-mail: issues-all-help@impala.apache.org