[ 
https://issues.apache.org/jira/browse/FLINK-21708?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17319970#comment-17319970
 ] 

Robert Metzger commented on FLINK-21708:
----------------------------------------

This is a known issue: FLINK-17524.
If you want to get rid of the warning, you need to start the JVM with 
{{--add-opens java.base/java.lang=ALL-UNNAMED}}. The problem is that Flink is 
using reflections to ensure we are not sending unnecessary classes to the 
cluster, when submitting a job. By default, the JVM will print these warnings 
when using reflection.

> CloserCleaner warning
> ---------------------
>
>                 Key: FLINK-21708
>                 URL: https://issues.apache.org/jira/browse/FLINK-21708
>             Project: Flink
>          Issue Type: Bug
>          Components: API / DataStream
>            Reporter: Avi Levi
>            Priority: Minor
>
> Getting this warning :
> {noformat}
> WARNING: An illegal reflective access operation has occurred
> WARNING: Illegal reflective access by 
> org.apache.flink.api.java.ClosureCleaner 
> (file:/Users/Foouser/Library/Caches/Coursier/v1/https/repo1.maven.org/maven2/org/apache/flink/flink-core/1.12.2/flink-core-1.12.2.jar)
>  to field java.lang.String.value
> WARNING: Please consider reporting this to the maintainers of 
> org.apache.flink.api.java.ClosureCleaner{noformat}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to