You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Chesnay Schepler (Jira)" <ji...@apache.org> on 2022/06/23 11:39:00 UTC
[jira] [Closed] (FLINK-27466) JDBC metaspace leak fix is misleading
[ https://issues.apache.org/jira/browse/FLINK-27466?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Chesnay Schepler closed FLINK-27466.
------------------------------------
Resolution: Fixed
master: 99c9c2ee3d4cf15319ca9f97b61b18f3f3b23210
> JDBC metaspace leak fix is misleading
> -------------------------------------
>
> Key: FLINK-27466
> URL: https://issues.apache.org/jira/browse/FLINK-27466
> Project: Flink
> Issue Type: Bug
> Components: Connectors / JDBC, Documentation
> Reporter: Chesnay Schepler
> Assignee: Chesnay Schepler
> Priority: Major
> Labels: pull-request-available
> Fix For: 1.16.0
>
>
> {code}
> To ensure that these classes are only loaded once you should either add the driver jars to Flinkās lib/ folder, or add the driver classes to the list of parent-first loaded class via classloader.parent-first-patterns-additional.
> {code}
> This reads as if adding the driver to classloader.parent-first-patterns-additional can solve the issue in all cases, but this only works if the driver is already in lib/.
--
This message was sent by Atlassian Jira
(v8.20.7#820007)