You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "Manikumar (JIRA)" <ji...@apache.org> on 2018/02/26 07:37:00 UTC
[jira] [Resolved] (KAFKA-5809) when zookeeper set acl on path /.
then kafka can't connect zookeeper
[ https://issues.apache.org/jira/browse/KAFKA-5809?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Manikumar resolved KAFKA-5809.
------------------------------
Resolution: Won't Fix
either we need to remove the acls on zk node acls or enable Zk SASL authentication http://kafka.apache.org/documentation/#zk_authz
Please reopen if you think the issue still exists
> when zookeeper set acl on path /. then kafka can't connect zookeeper
> --------------------------------------------------------------------
>
> Key: KAFKA-5809
> URL: https://issues.apache.org/jira/browse/KAFKA-5809
> Project: Kafka
> Issue Type: Bug
> Affects Versions: 0.10.1.0
> Reporter: heping
> Priority: Major
> Attachments: 20170830135831.png
>
>
> hi,all
> when i set zookeeper acl on zookeeper path /. using setAcl / digest:zhangsan:jA/7JI9gsuLp0ZQn5J5dcnDQkHA=:cdrwa
> then restart kafka,it can't connect zookeeper. kafka version is 0.10.1.0
> [2017-08-30 13:50:14,108] INFO [Kafka Server 0], shut down completed (kafka.server.KafkaServer)
> [2017-08-30 13:50:14,108] FATAL Fatal error during KafkaServerStartable startup. Prepare to shutdown (kafka.server.KafkaServerStartable)
> org.I0Itec.zkclient.exception.ZkException: org.apache.zookeeper.KeeperException$NoAuthException: KeeperErrorCode = NoAuth
> at org.I0Itec.zkclient.exception.ZkException.create(ZkException.java:68)
> at kafka.utils.ZKCheckedEphemeral.create(ZkUtils.scala:1139)
> at kafka.utils.ZkUtils.registerBrokerInZk(ZkUtils.scala:390)
> at kafka.utils.ZkUtils.registerBrokerInZk(ZkUtils.scala:379)
> at kafka.server.KafkaHealthcheck.register(KafkaHealthcheck.scala:70)
> at kafka.server.KafkaHealthcheck.startup(KafkaHealthcheck.scala:51)
> at kafka.server.KafkaServer.startup(KafkaServer.scala:270)
> at kafka.server.KafkaServerStartable.startup(KafkaServerStartable.scala:39)
> at kafka.Kafka$.main(Kafka.scala:67)
> at kafka.Kafka.main(Kafka.scala)
> Caused by: org.apache.zookeeper.KeeperException$NoAuthException: KeeperErrorCode = NoAuth
> at org.apache.zookeeper.KeeperException.create(KeeperException.java:113)
> ... 9 more
> how to solve this problem?
> thanks
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)