apache zookeeper - Kafka throwing an error for which a Google search has no results -
i have stand-alone kafka 0.9 service running on single-node hdp 2.3.4.7 hadoop cluster (this development set-up).
recently ran out of disk space (logging component had been set way verbose!) , kafka crashed. before restarting wanted clear of topics, did following:
- cleared out tmp/kafka-logs folder.
- wiped /consumers, /brokers, /admin , /config nodes zookeeper.
- cleared out /tmp/zookeeper/version-2 folder.
- restarted zookeeper.
- restarted kafka.
kafka did 2 strange things.
firstly, recreated topics had deleted. have no idea how did had believed state stores in /tmp/kafka-logs folder , in zk.
secondly, throws string of errors of following form:
error processor got uncaught exception. (kafka.network.processor) kafka.common.kafkaexception: number of topics has value -1 not in range (0,2147483647). @ kafka.api.apiutils$.readintinrange(apiutils.scala:87) @ kafka.api.topicmetadatarequest$.readfrom(topicmetadatarequest.scala:43) @ kafka.api.requestkeys$$anonfun$4.apply(requestkeys.scala:51) @ kafka.api.requestkeys$$anonfun$4.apply(requestkeys.scala:51) @ kafka.network.requestchannel$request.<init>(requestchannel.scala:66) @ kafka.network.processor$$anonfun$run$11.apply(socketserver.scala:426) @ kafka.network.processor$$anonfun$run$11.apply(socketserver.scala:421) @ scala.collection.iterator$class.foreach(iterator.scala:727) @ scala.collection.abstractiterator.foreach(iterator.scala:1157) @ scala.collection.iterablelike$class.foreach(iterablelike.scala:72) @ scala.collection.abstractiterable.foreach(iterable.scala:54) @ kafka.network.processor.run(socketserver.scala:421) @ java.lang.thread.run(thread.java:745)
which no amount of googling sheds light on. kafka server not crash if attempt connect console consumer error of form:
error in fetch kafka.consumer.consumerfetcherthread$fetchrequest@2cb1cc1c (kafka.consumer.consumerfetcherthread) java.net.sockettimeoutexception
the console producer will let me post messages however!
does have ideas to:
1) why kafka able recover topics? (did miss out step in deletion process?)
2) error might mean? have corrupted config somewhere need rid of?
Comments
Post a Comment