zookeeper-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Adam Antal (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (ZOOKEEPER-3263) Illegal reflective access in zookeer's kerberosUtil
Date Thu, 09 May 2019 08:05:00 GMT

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

Adam Antal commented on ZOOKEEPER-3263:
---------------------------------------

It looks quite similar to HADOOP-10848.

This is due to JDK9+ blocking accesses to sun.* classes. You can find more information in
that case.

Also, it's probably need a patch from ZK side to remove this though.

> Illegal reflective access in zookeer's kerberosUtil
> ---------------------------------------------------
>
>                 Key: ZOOKEEPER-3263
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-3263
>             Project: ZooKeeper
>          Issue Type: Improvement
>            Reporter: Pradeep Bansal
>            Priority: Major
>
> I am using kafka 2.11-2.1.0 with Java 11. Kafka is using zookeeper-3.4.13.jar and when
am running kafka-acl script to maange ACLs, I am getting below warning. Is there a way to
resolve this?
> {{WARNING: An illegal reflective access operation has occurred WARNING: Illegal reflective
access by org.apache.zookeeper.server.util.KerberosUtil (file://apache/kafka/kafka_2.11-2.1.0/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)

Mime
View raw message