In attempting to run cassandra-stress I get the following strack trace:

$ cassandra-stress user profile=${file_name}.yaml  n=10000000 ops\(insert=10,simple1=4\) cl=LOCAL_QUORUM -node  ${ip_address} -rate threads=600  -mode native cql3 user=${username} password=${password}

java.lang.RuntimeException: com.datastax.driver.core.exceptions.NoHostAvailableException: All host(s) tried for query failed (tried: /${ip_address}:9042 (com.datastax.driver.core.exceptions.UnsupportedProtocolVersionException: [/${ip_address}] Host does not support protocol version V4 but V3))at org.apache.cassandra.stress.settings.StressSettings.getJavaDriverClient(StressSettings.java:222)……..

Run help and review usage notes:

Usage: -mode thrift [smart] [user=?] [password=?]

OR

Usage: -mode native [unprepared] cql3 [compression=?] [port=?] [user=?] [password=?] [auth-provider=?] [maxPending=?] [connectionsPerHost=?] [protocolVersion=?]

OR

Usage: -mode simplenative [prepared] cql3 [port=?]

Run again:

$ cassandra-stress user profile=${file_name}.yaml  n=10000000 ops\(insert=1\) cl=LOCAL_QUORUM -node ${ip_address} -rate threads=600  -mode native cql3 protocolVersion=3 user=${username} password=${password}

Connected to cluster: ${cluster_name}, max pending requests per connection 128, max connections per host 8

Datatacenter:
Sleeping 2s…
Warming up insert with 50000 iterations…
Generating batches with [1..1] partitions and [1..1] rows (of [1..1] total rows in the partitions)
Running [insert] with 600 threads for 10000000 iteration
………………
type       total ops,    op/s,    pk/s,   row/s,

Advertisements