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)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-all-unsubscr...@impala.apache.org
For additional commands, e-mail: issues-all-h...@impala.apache.org

Reply via email to