kafka-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mathias Herberts <mathias.herbe...@gmail.com>
Subject Re: Exception causing Kafka to crash
Date Fri, 07 Oct 2011 14:35:30 GMT
If you abort Kafka (killing the JVM for example) and restart it,
depending on the zookeeper timeout you've used, it might occur that
the ephemeral node create by the broker has not yet been removed by

If this is the case, Kafka will detect that there is a znode conflict
and kill itself.

This is what your logs seem to imply:

[2011-10-03 15:33:22,229] INFO conflict in /brokers/ids/0 data: stored data: (kafka.utils.ZkUtils$)

Try to either wait for more than the ZK timeout prior to restarting
Kafka, or lower the ZK timeout so the ephemeral node is indeed gone
when you restart Kafka.


View raw message