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

luoyuxia updated FLINK-28430:
-----------------------------
    Description: 
Now, HiveFunctionWrapper will use current thread's ClassLoader to load the Hive 
UDFs class. But the class loader may differ with the class loader that loads 
the Hive UDFs, which will cause class not found issuse. 



  was:
Now, HiveFunctionWrapper will use current thread's ClassLoader to load the Hive 
UDFs class. But the class loader may differ with the class loader that loads 
the Hive UDFs, which will cause class not found issuse. 

To solve it, we need to use UserClassLoader to load the Hive UDFs class.


> HiveFunctionWrapper should use UserClassLoader to load class
> ------------------------------------------------------------
>
>                 Key: FLINK-28430
>                 URL: https://issues.apache.org/jira/browse/FLINK-28430
>             Project: Flink
>          Issue Type: Sub-task
>          Components: Connectors / Hive
>    Affects Versions: 1.16.0
>            Reporter: luoyuxia
>            Priority: Major
>
> Now, HiveFunctionWrapper will use current thread's ClassLoader to load the 
> Hive UDFs class. But the class loader may differ with the class loader that 
> loads the Hive UDFs, which will cause class not found issuse. 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to