[jira] [Commented] (KAFKA-10701) First line of detailed stats from consumer-perf-test.sh incorrect
[ https://issues.apache.org/jira/browse/KAFKA-10701?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17258236#comment-17258236 ] Cenk Uyan commented on KAFKA-10701: --- It maybe totally the case that I'm missing something , but how come the issue is still Open, when the above PR has been merged to trunk ? Cheers. > First line of detailed stats from consumer-perf-test.sh incorrect > - > > Key: KAFKA-10701 > URL: https://issues.apache.org/jira/browse/KAFKA-10701 > Project: Kafka > Issue Type: Bug > Components: tools >Reporter: David Arthur >Assignee: Liju >Priority: Minor > Labels: newbie > > When running the console perf test with {{--show-detailed-stats}}, the first > line out of output has incorrect results > {code} > $ ./bin/kafka-consumer-perf-test.sh --bootstrap-server localhost:9092 --topic > test --messages 1000 --reporting-interval 1000 --show-detailed-stats > time, threadId, data.consumed.in.MB, MB.sec, data.consumed.in.nMsg, nMsg.sec, > rebalance.time.ms, fetch.time.ms, fetch.MB.sec, fetch.nMsg.sec > 2020-11-06 11:57:01:420, 0, 275.3878, 275.3878, 288765, 288765., > 1604681820723, -1604681819723, 0., 0. > 2020-11-06 11:57:02:420, 0, 952.1456, 676.7578, 998397, 709632., 0, 1000, > 676.7578, 709632. > 2020-11-06 11:57:03:420, 0, 1654.2940, 702.1484, 1734653, 736256., 0, > 1000, 702.1484, 736256. > 2020-11-06 11:57:04:420, 0, 2492.1389, 837.8448, 2613197, 878544., 0, > 1000, 837.8448, 878544. > 2020-11-06 11:57:05:420, 0, 3403.2993, 911.1605, 3568618, 955421., 0, > 1000, 911.1605, 955421. > 2020-11-06 11:57:06:420, 0, 4204.1540, 800.8547, 4408375, 839757., 0, > 1000, 800.8547, 839757. > 2020-11-06 11:57:07:420, 0, 4747.1275, 542.9735, 4977724, 569349., 0, > 1000, 542.9735, 569349. > 2020-11-06 11:57:08:420, 0, 5282.2266, 535.0990, 5538816, 561092., 0, > 1000, 535.0990, 561092. > 2020-11-06 11:57:09:420, 0, 5824.3732, 542.1467, 6107298, 568482., 0, > 1000, 542.1467, 568482. > {code} > This seems to be due to incorrect initialization of the {{joinStart}} > variable in the consumer perf test code. -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Commented] (KAFKA-10701) First line of detailed stats from consumer-perf-test.sh incorrect
[ https://issues.apache.org/jira/browse/KAFKA-10701?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17232698#comment-17232698 ] Liju commented on KAFKA-10701: -- Opened below pr for the fix https://github.com/apache/kafka/pull/9598 > First line of detailed stats from consumer-perf-test.sh incorrect > - > > Key: KAFKA-10701 > URL: https://issues.apache.org/jira/browse/KAFKA-10701 > Project: Kafka > Issue Type: Bug > Components: tools >Reporter: David Arthur >Assignee: Liju >Priority: Minor > Labels: newbie > > When running the console perf test with {{--show-detailed-stats}}, the first > line out of output has incorrect results > {code} > $ ./bin/kafka-consumer-perf-test.sh --bootstrap-server localhost:9092 --topic > test --messages 1000 --reporting-interval 1000 --show-detailed-stats > time, threadId, data.consumed.in.MB, MB.sec, data.consumed.in.nMsg, nMsg.sec, > rebalance.time.ms, fetch.time.ms, fetch.MB.sec, fetch.nMsg.sec > 2020-11-06 11:57:01:420, 0, 275.3878, 275.3878, 288765, 288765., > 1604681820723, -1604681819723, 0., 0. > 2020-11-06 11:57:02:420, 0, 952.1456, 676.7578, 998397, 709632., 0, 1000, > 676.7578, 709632. > 2020-11-06 11:57:03:420, 0, 1654.2940, 702.1484, 1734653, 736256., 0, > 1000, 702.1484, 736256. > 2020-11-06 11:57:04:420, 0, 2492.1389, 837.8448, 2613197, 878544., 0, > 1000, 837.8448, 878544. > 2020-11-06 11:57:05:420, 0, 3403.2993, 911.1605, 3568618, 955421., 0, > 1000, 911.1605, 955421. > 2020-11-06 11:57:06:420, 0, 4204.1540, 800.8547, 4408375, 839757., 0, > 1000, 800.8547, 839757. > 2020-11-06 11:57:07:420, 0, 4747.1275, 542.9735, 4977724, 569349., 0, > 1000, 542.9735, 569349. > 2020-11-06 11:57:08:420, 0, 5282.2266, 535.0990, 5538816, 561092., 0, > 1000, 535.0990, 561092. > 2020-11-06 11:57:09:420, 0, 5824.3732, 542.1467, 6107298, 568482., 0, > 1000, 542.1467, 568482. > {code} > This seems to be due to incorrect initialization of the {{joinStart}} > variable in the consumer perf test code. -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Commented] (KAFKA-10701) First line of detailed stats from consumer-perf-test.sh incorrect
[ https://issues.apache.org/jira/browse/KAFKA-10701?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17232201#comment-17232201 ] Quan Nguyen commented on KAFKA-10701: - Hi, I can work on this bug if it hasn't been assigned yet. > First line of detailed stats from consumer-perf-test.sh incorrect > - > > Key: KAFKA-10701 > URL: https://issues.apache.org/jira/browse/KAFKA-10701 > Project: Kafka > Issue Type: Bug > Components: tools >Reporter: David Arthur >Priority: Minor > Labels: newbie > > When running the console perf test with {{--show-detailed-stats}}, the first > line out of output has incorrect results > {code} > $ ./bin/kafka-consumer-perf-test.sh --bootstrap-server localhost:9092 --topic > test --messages 1000 --reporting-interval 1000 --show-detailed-stats > time, threadId, data.consumed.in.MB, MB.sec, data.consumed.in.nMsg, nMsg.sec, > rebalance.time.ms, fetch.time.ms, fetch.MB.sec, fetch.nMsg.sec > 2020-11-06 11:57:01:420, 0, 275.3878, 275.3878, 288765, 288765., > 1604681820723, -1604681819723, 0., 0. > 2020-11-06 11:57:02:420, 0, 952.1456, 676.7578, 998397, 709632., 0, 1000, > 676.7578, 709632. > 2020-11-06 11:57:03:420, 0, 1654.2940, 702.1484, 1734653, 736256., 0, > 1000, 702.1484, 736256. > 2020-11-06 11:57:04:420, 0, 2492.1389, 837.8448, 2613197, 878544., 0, > 1000, 837.8448, 878544. > 2020-11-06 11:57:05:420, 0, 3403.2993, 911.1605, 3568618, 955421., 0, > 1000, 911.1605, 955421. > 2020-11-06 11:57:06:420, 0, 4204.1540, 800.8547, 4408375, 839757., 0, > 1000, 800.8547, 839757. > 2020-11-06 11:57:07:420, 0, 4747.1275, 542.9735, 4977724, 569349., 0, > 1000, 542.9735, 569349. > 2020-11-06 11:57:08:420, 0, 5282.2266, 535.0990, 5538816, 561092., 0, > 1000, 535.0990, 561092. > 2020-11-06 11:57:09:420, 0, 5824.3732, 542.1467, 6107298, 568482., 0, > 1000, 542.1467, 568482. > {code} > This seems to be due to incorrect initialization of the {{joinStart}} > variable in the consumer perf test code. -- This message was sent by Atlassian Jira (v8.3.4#803005)