Details
-
Bug
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
1.1.0
-
None
-
None
Description
The acceptor starts before the the processor threads are actually created which creates a very small window in which connections to the broker will fail. When the acceptor takes on a new connection an illegal arithmetic exception is thrown as shown below.
Exception: / by zero
at kafka.network.Acceptor.run(SocketServer.scala:391)
at java.lang.Thread.run(Thread.java:748)
[2018-05-09 15:34:05,153] ERROR Error while accepting connection (kafka.network.Acceptor)
java.lang.ArithmeticException: / by zero
at kafka.network.Acceptor.run(SocketServer.scala:391)
at java.lang.Thread.run(Thread.java:748)
[2018-05-09 15:34:05,153] ERROR Error while accepting connection (kafka.network.Acceptor)
java.lang.ArithmeticException: / by zero
at kafka.network.Acceptor.run(SocketServer.scala:391)
at java.lang.Thread.run(Thread.java:748)
[2018-05-09 15:34:05,153] INFO Awaiting socket connections on lontkfk02.mwam.local:9093. (kafka.network.Acceptor)
[2018-05-09 15:34:05,268] INFO [SocketServer brokerId=2] Started 2 acceptor threads (kafka.network.SocketServer)
Attachments
Issue Links
- is duplicated by
-
KAFKA-6982 java.lang.ArithmeticException: / by zero
-
- Resolved
-
- links to