Eduardas Kazakas created FLINK-37748:
----------------------------------------

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


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)

Reply via email to