[ 
https://issues.apache.org/jira/browse/IMPALA-8016?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Philip Zeyliger closed IMPALA-8016.
-----------------------------------
    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 Zeyliger
>            Assignee: Philip Zeyliger
>            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
(v7.6.3#76005)

Reply via email to