Abhi created KAFKA-8146:
---------------------------

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


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
(v7.6.3#76005)

Reply via email to