Uploaded image for project: 'Kafka'
  1. Kafka
  2. KAFKA-3111

java.lang.ArithmeticException: / by zero in ConsumerPerformance

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.9.0.0
    • Fix Version/s: 0.10.1.0
    • Component/s: core
    • Labels:

      Description

      Saw the following error. If there are lots of unconsumed messages, between two iterations of the consumption, the timestamp may not have changed.

      kafka-consumer-perf-test --zookeeper localhost:2181 --topic test --group test-group --threads 1 --show-detailed-stats --reporting-interval 5000
      2016-01-13 09:12:43:905, 0, 1048576, 35.2856, 238.4186, 370000, 2500000.0000
      2016-01-13 09:12:43:916, 0, 1048576, 35.7624, 47.6837, 375000, 500000.0000
      java.lang.ArithmeticException: / by zero
      at kafka.tools.ConsumerPerformance$ConsumerPerfThread.printMessage(ConsumerPerformance.scala:189)
      at kafka.tools.ConsumerPerformance$ConsumerPerfThread.run(ConsumerPerformance.scala:164)
      2016-01-13 09:12:43:918, 0, 1048576, 36.2393, 0.7117, 380000, 7000.0000

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                vahid Vahid Hashemian
                Reporter:
                junrao Jun Rao
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: