Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Plain View
Kafka >> mail # user >> FYI: Error when starting broker after 0.8.0 startup


Copy link to this message
-
FYI: Error when starting broker after 0.8.0 startup
Hi,

If you get the following errors, check your server.properties file and find
all the 'zk.' and change to 'zookeeper.'

I know the change was posted yesterday, but here is the error in case
someone missed that email.

[2013-04-30 15:24:31,165] FATAL Fatal error during KafkaServerStable
startup. Prepare to shutdown (kafka.server.KafkaServerStartable)
java.lang.NullPointerException
        at org.apache.zookeeper.ClientCnxn.<init>(ClientCnxn.java:361)
        at org.apache.zookeeper.ClientCnxn.<init>(ClientCnxn.java:332)
        at org.apache.zookeeper.ZooKeeper.<init>(ZooKeeper.java:383)
        at org.I0Itec.zkclient.ZkConnection.connect(ZkConnection.java:64)
        at org.I0Itec.zkclient.ZkClient.connect(ZkClient.java:872)
        at org.I0Itec.zkclient.ZkClient.<init>(ZkClient.java:98)
        at org.I0Itec.zkclient.ZkClient.<init>(ZkClient.java:84)
        at
kafka.common.KafkaZookeeperClient$.getZookeeperClient(KafkaZookeperClient.scala:31)
        at kafka.server.KafkaZooKeeper.startup(KafkaZooKeeper.scala:39)
        at kafka.server.KafkaServer.startup(KafkaServer.scala:78)
        at
kafka.server.KafkaServerStartable.startup(KafkaServerStartable.scala:34)
        at kafka.Kafka$.main(Kafka.scala:46)
        at kafka.Kafka.main(Kafka.scala)
[2013-04-30 15:24:31,168] INFO [Kafka Server 4], shutting down
(kafka.server.KafkaServer)

Chris