You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "luoyuxia (Jira)" <ji...@apache.org> on 2022/07/21 13:10:00 UTC

[jira] [Resolved] (FLINK-28430) HiveFunctionWrapper should use UserClassLoader to load class

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

luoyuxia resolved FLINK-28430.
------------------------------
    Resolution: Duplicate

Will be fixed in https://issues.apache.org/jira/browse/FLINK-28451

> 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. 
> To solve it, we need to use UserClassLoader to load the Hive UDFs class.



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