You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2025/04/29 04:48:00 UTC

[jira] [Updated] (FLINK-37748) Remove JDK only JVM arguments from Flink operator Helm chart

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

ASF GitHub Bot updated FLINK-37748:
-----------------------------------
    Labels: pull-request-available  (was: )

> Remove JDK only JVM arguments from Flink operator Helm chart
> ------------------------------------------------------------
>
>                 Key: FLINK-37748
>                 URL: https://issues.apache.org/jira/browse/FLINK-37748
>             Project: Flink
>          Issue Type: Improvement
>          Components: Kubernetes Operator
>         Environment:  
>            Reporter: Eduardas Kazakas
>            Priority: Minor
>              Labels: pull-request-available
>
> There is an issue with Flink Kubernetes operator where JVM reports unrecognized options. These options are:
> ```
> --add-exports=jdk.compiler/com.sun.tools.javac.api=ALL-UNNAMED
> --add-exports=jdk.compiler/com.sun.tools.javac.file=ALL-UNNAMED
> --add-exports=jdk.compiler/com.sun.tools.javac.parser=ALL-UNNAMED
> --add-exports=jdk.compiler/com.sun.tools.javac.tree=ALL-UNNAMED
> --add-exports=jdk.compiler/com.sun.tools.javac.util=ALL-UNNAMED
> ```
> The above are only valid in JDK environments. When running in JRE environments, where most of the Flink applications will be running, the VM reports the following warnings:
> ```
> {color:#1d1c1d}WARNING: Unknown module: jdk.compiler specified to --add-exports
> WARNING: Unknown module: jdk.compiler specified to --add-exports
> WARNING: Unknown module: jdk.compiler specified to --add-exports
> <...>{color}
> ```



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