kafka-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alex Loddengaard <a...@confluent.io>
Subject Re: Kafka error: FATAL Fatal error during KafkaServerStartable startup.after enabling security
Date Fri, 27 May 2016 22:45:28 GMT
Hi Kiran,

Can you attach your configuration files not in a .zip?

Most likely your broker isn't using the correct hostname:port to connect to
ZooKeeper. Although if you're using ZooKeeper SASL, you may have a SASL
misconfiguration. Set the `sun.security.krb5.debug` JVM property to `true`
to get SASL debug messages.

Alex

On Fri, May 27, 2016 at 5:38 AM, kiran kumar <kiran.cse507@gmail.com> wrote:

> Hello All,
>
> After enabling the security for the kafka brokers and zookeeper, I am
> unable to start the kafka brokers.
>
> I have attached all the required configuration files.
>
> Please let me know if you need more information.
>
> Below is the complete error:
>
> FATAL Fatal error during KafkaServer startup. Prepare to shutdown
> (kafka.server.KafkaServer)
> org.I0Itec.zkclient.exception.ZkTimeoutException: Unable to connect to
> zookeeper server within timeout: 30000
> at org.I0Itec.zkclient.ZkClient.connect(ZkClient.java:1232)
> at org.I0Itec.zkclient.ZkClient.<init>(ZkClient.java:156)
> at org.I0Itec.zkclient.ZkClient.<init>(ZkClient.java:130)
> at kafka.utils.ZkUtils$.createZkClientAndConnection(ZkUtils.scala:75)
> at kafka.utils.ZkUtils$.apply(ZkUtils.scala:57)
> at kafka.server.KafkaServer.initZk(KafkaServer.scala:294)
> at kafka.server.KafkaServer.startup(KafkaServer.scala:180)
> at kafka.server.KafkaServerStartable.startup(KafkaServerStartable.scala:37)
> at kafka.Kafka$.main(Kafka.scala:67)
> at kafka.Kafka.main(Kafka.scala)
> [2016-05-27 07:55:36,450] INFO shutting down (kafka.server.KafkaServer)
> [2016-05-27 07:55:36,453] DEBUG Shutting down task scheduler.
> (kafka.utils.KafkaScheduler)
> [2016-05-27 07:55:36,456] INFO shut down completed
> (kafka.server.KafkaServer)
> [2016-05-27 07:55:36,458] FATAL Fatal error during KafkaServerStartable
> startup. Prepare to shutdown (kafka.server.KafkaServerStartable)
> org.I0Itec.zkclient.exception.ZkTimeoutException: Unable to connect to
> zookeeper server within timeout: 30000
> at org.I0Itec.zkclient.ZkClient.connect(ZkClient.java:1232)
> at org.I0Itec.zkclient.ZkClient.<init>(ZkClient.java:156)
> at org.I0Itec.zkclient.ZkClient.<init>(ZkClient.java:130)
> at kafka.utils.ZkUtils$.createZkClientAndConnection(ZkUtils.scala:75)
> at kafka.utils.ZkUtils$.apply(ZkUtils.scala:57)
> at kafka.server.KafkaServer.initZk(KafkaServer.scala:294)
> at kafka.server.KafkaServer.startup(KafkaServer.scala:180)
> at kafka.server.KafkaServerStartable.startup(KafkaServerStartable.scala:37)
> at kafka.Kafka$.main(Kafka.scala:67)
> at kafka.Kafka.main(Kafka.scala)
>
> --
> G.Kiran Kumar
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message