[ https://issues.apache.org/jira/browse/CASSANDRA-14890?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Stefania updated CASSANDRA-14890: --------------------------------- Reviewer: Stefania > cassandra-stress hang for 200 seconds if `n` is not specified > ------------------------------------------------------------- > > Key: CASSANDRA-14890 > URL: https://issues.apache.org/jira/browse/CASSANDRA-14890 > Project: Cassandra > Issue Type: Bug > Components: Stress > Reporter: Jay Zhuang > Assignee: Jay Zhuang > Priority: Minor > > if parameter {{n}} is not specified, cassandra-stress will hang (wait) for > 200 seconds between warm-up and sending traffic. > For example, the following command will hang 200 seconds before sending the > traffic: > {noformat} > $ ./tools/bin/cassandra-stress write > ... > Created keyspaces. Sleeping 1s for propagation. > Sleeping 2s... > Warming up WRITE with 0 iterations... > Failed to connect over JMX; not collecting these stats > {noformat} > It's waiting for this: > [https://github.com/apache/cassandra/blob/06209037ea56b5a2a49615a99f1542d6ea1b2947/tools/stress/src/org/apache/cassandra/stress/util/Uncertainty.java#L72] > As there's no warm-up traffic (CASSANDRA-13773), it will wait until: > {noformat} > (measurements >= waiter.maxMeasurements) > {noformat} > {{maxMeasurements}} is 200 by default: > [https://github.com/apache/cassandra/blob/06209037ea56b5a2a49615a99f1542d6ea1b2947/tools/stress/src/org/apache/cassandra/stress/settings/SettingsCommand.java#L153] -- This message was sent by Atlassian JIRA (v7.6.3#76005) --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org