Details
-
Bug
-
Status: Resolved
-
Critical
-
Resolution: Duplicate
-
None
-
None
-
None
-
None
Description
Ran into a production issue with the broker.id being set to a string instead of integer and the controller had nothing in the log and stayed stuck. Eventually we saw this in the log of the brokers where coming from
me 11:42 AM
[2015-05-23 15:41:05,863] 67396362 [ZkClient-EventThread-14-****ERROR org.I0Itec.zkclient.ZkEventThread - Error handling event ZkEvent[Data of /admin/reassign_partitions changed sent to kafka.controller.PartitionsReassignedListener@78c6aab8]
java.lang.ClassCastException: java.lang.String cannot be cast to java.lang.Integer
at scala.runtime.BoxesRunTime.unboxToInt(Unknown Source)
at kafka.controller.KafkaController$$anonfun$4.apply(KafkaController.scala:579)
we then had to delete the znode from zookeeper (admin/reassign_partition) and then fix the json and try it again
Attachments
Issue Links
- Blocked
-
KAFKA-4914 Partition re-assignment tool should check types before persisting state in ZooKeeper
- Resolved