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

Manikumar resolved KAFKA-8146.
------------------------------
    Resolution: Fixed

Warnings mentioned in the description are fixed in Kafka 2.4.0 release.

> WARNING: An illegal reflective access operation has occurred
> ------------------------------------------------------------
>
>                 Key: KAFKA-8146
>                 URL: https://issues.apache.org/jira/browse/KAFKA-8146
>             Project: Kafka
>          Issue Type: Bug
>          Components: clients, core
>    Affects Versions: 2.1.1
>         Environment: Java 11
> Kafka v2.1.1
>            Reporter: Abhi
>            Priority: Major
>
> Hi,
> I am running Kafka v2.1.1 and see below warnings at the startup of server and 
> clients. What is the cause of these warnings and how they can be avoided or 
> fixed?
> *Client side:*
> WARNING: Illegal reflective access by 
> org.apache.kafka.common.network.SaslChannelBuilder 
> (file:/local/kafka/kafka_installation/kafka_2.12-2.1.1/libs/kafka-clients-2.1.1.jar)
>  to method sun.security.krb5.Config.getInstance()
> WARNING: Please consider reporting this to the maintainers of 
> org.apache.kafka.common.network.SaslChannelBuilder
> WARNING: Use --illegal-access=warn to enable warnings of further illegal 
> reflective access operations
> WARNING: All illegal access operations will be denied in a future release
> *Server side:*
> WARNING: An illegal reflective access operation has occurred
> WARNING: Illegal reflective access by 
> org.apache.zookeeper.server.util.KerberosUtil 
> (file:/local/kafka/kafka_installation/kafka_2.12-2.1.1/libs/zookeeper-3.4.13.jar)
>  to method sun.security.krb5.Config.getInstance()
> WARNING: Please consider reporting this to the maintainers of 
> org.apache.zookeeper.server.util.KerberosUtil
> WARNING: Use --illegal-access=warn to enable warnings of further illegal 
> reflective access operations
> WARNING: All illegal access operations will be denied in a future release



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

Reply via email to