heping created KAFKA-5809:
-----------------------------

             Summary: 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
            Reporter: heping
         Attachments: QQ截图20170830135831.png

when i set zookeeper acl on zookeeper path /. then kafka can't connect 
zookeeper.

[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
(v6.4.14#64029)

Reply via email to