You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@kafka.apache.org by David Espinosa <es...@gmail.com> on 2017/08/07 08:15:34 UTC

jute maxbuffer in Zookeeper

Hi all,
In fact this is a question regarding Zookeeper but very related to Kafka.
I'm doing a test in order to check that we can create up to 100k topics in
a kafka cluster, so we can manage multitenancy this way.

After a proper setup, I have managed to create those 100k topics in Kafka,
but now I find that I can't retrieve the list of topics using
kafka-topics.sh, this is the error I get:

[2017-08-07 08:12:37,085] WARN Session 0x15dbb9894d00003 for server ...,
unexpected error, closing socket connection and attempting reconnect
(org.apache.zookeeper.ClientCnxn)
java.io.IOException: Packet len4194320 is out of range!
at
org.apache.zookeeper.ClientCnxnSocket.readLength(ClientCnxnSocket.java:112)
at
org.apache.zookeeper.ClientCnxnSocketNIO.doIO(ClientCnxnSocketNIO.java:79)
at
org.apache.zookeeper.ClientCnxnSocketNIO.doTransport(ClientCnxnSocketNIO.java:366)
at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1141)

I have read that this is related to a property in Zookeeper named
jute.maxbuffer, and that I have to set it up through a java property. But
after some tries I'm not getting any result, so I would like to ask you if
somebody has found this error, and how have you solved it.

Thanks in advance,
David