You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "sunjincheng (JIRA)" <ji...@apache.org> on 2017/03/31 09:26:41 UTC
[jira] [Comment Edited] (FLINK-5227) Add warning to include
flink-table in job fat jars
[ https://issues.apache.org/jira/browse/FLINK-5227?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15950568#comment-15950568 ]
sunjincheng edited comment on FLINK-5227 at 3/31/17 9:26 AM:
-------------------------------------------------------------
[~fhueske] So, Can I take this JIRA. and fix it?BTW, Why we need add it to ./opt/pom.xml ?
was (Author: sunjincheng121):
[~fhueske] So, Can I take this JIRA. and fix it?
> Add warning to include flink-table in job fat jars
> --------------------------------------------------
>
> Key: FLINK-5227
> URL: https://issues.apache.org/jira/browse/FLINK-5227
> Project: Flink
> Issue Type: Improvement
> Components: Documentation, Table API & SQL
> Affects Versions: 1.2.0, 1.1.3
> Reporter: Fabian Hueske
> Fix For: 1.1.5
>
>
> {{flink-table}} depends on Apache Calcite which includes a JDBC Driver that prevents classloaders from being collected. This is a known issue with {{java.sqlDriverManager}} and can eventually cause OOME Permgen Taskmanager failures.
> The current workaround is to not include {{flink-table}} in the fat job JAR. Instead the {{flink-table}} jar files should be added to the {{lib}} folder of the TaskManagers.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)