You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flink.apache.org by "Chesnay Schepler (Jira)" <ji...@apache.org> on 2022/05/02 06:53:00 UTC

[jira] [Created] (FLINK-27466) JDBC metaspace leak fix is misleading

Chesnay Schepler created FLINK-27466:
----------------------------------------

             Summary: 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
             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)