kafka-jira mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "heping (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (KAFKA-5809) when zookeeper set acl on path /. then kafka can't connect zookeeper
Date Wed, 30 Aug 2017 06:31:00 GMT

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

heping updated KAFKA-5809:
--------------------------
    Description: 
when i set zookeeper acl on zookeeper path /. using setAcl /  digest:zhangsan:jA/7JI9gsuLp0ZQn5J5dcnDQkHA=:cdrwa
 then restart kafka,it  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 



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




> 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: 20170830135831.png
>
>
> when i set zookeeper acl on zookeeper path /. using setAcl /  digest:zhangsan:jA/7JI9gsuLp0ZQn5J5dcnDQkHA=:cdrwa
>  then restart kafka,it  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)

Mime
View raw message