Questions tagged [cassandra-stress]

The `cassandra-stress` tool is a Java-based stress testing utility for basic benchmarking and load testing a Cassandra cluster.

The cassandra-stress tool is a Java-based stress testing utility for basic benchmarking and load testing a Cassandra cluster. It allows to check the behavior of the schema by populating the database cluster and supporting stress testing of arbitrary CQL tables and arbitrary queries on tables.

47 questions
1
vote
1 answer

Cassandra node JVM hang during node repair a table with materialized view

I have a 9 nodes cluster on AWS. Recently, some nodes were down and I want to repair the cluster after I restarted them. But I found the repair operation causes lots of memtable flush and then the JVM GC failed. Consequently, the node hang. I am…
hellogb
  • 11
  • 2
1
vote
1 answer

ScyllaDB schema causes issues when imported with cassandra-stress

I'm currently using ScyllaDB in my environment and, due to technical reasons, researching moving to Cassandra. I'm trying to make cassandra-stress load up Cassandra cluster with data using the schema possibly identical to the one currently being…
theo
  • 155
  • 2
  • 13
1
vote
2 answers

Cassandra-stress : how to install and set it up outside cassandra cluster

I am about to use simple cassnadra cluster (3 nodes, x.x.x.104-106). I'm using CentOS7, so i used datastax repository, Cassandra 3.0. I read on forum, it is better to install the cassandra-stress outside the cluster, otherwise it consumes CPU of…
la_femme_it
  • 632
  • 10
  • 24
1
vote
1 answer

Error: Could not find or load main class org.apache.cassandra.stress.Stress

How can I do a cassandra-stress on a Elassandra cluster? cassandra-stress is not on elassandra file system
Rui Martins
  • 3,337
  • 5
  • 35
  • 40
1
vote
0 answers

Cassandra-stress does not generate random values for every row

With DDL and profile yaml below, I generate random data for my table using cassandra-stress. The results I get for the columns amount and status don't match expectation. The random values seem to be drawn once per partition, not for each row. If,…
1
vote
0 answers

cassandra-stress update error: slice restrictions are not supported on the clustering columns in UPDATE statements

I am struggling with cassandra-stress. I am looking to tune my C* cluster which is serving applications performing updates and deletes. I have found no extensive documentation for cassandra-stress that exemplify usage, so it has taken a long time…
1
vote
1 answer

Cassandra-stress test: invalid parameter

~/cassandra-stress mixed ratio\(write=5,read=1\) n=100000 user profile=./cassandra.yaml duration=15m 'ops\(insert=10\)' cl=QUORUM -rate threads=100 -mode native cql3 port=9042 user=cassandra password=cassandra -transport…
1
vote
0 answers

cassandra-stress tool: [a-z] letters range for varchar column

Under cassandra-stress yaml config file, columnspec defines insert range of data. For a varchar column how to say I want a column to be populated with words built from letters [a-z]* only? If I say: columnspec: - name: id # varchar -…
Michal
  • 2,078
  • 19
  • 29
1
vote
2 answers

Autoscaling a Cassandra cluster on AWS

I have been trying to auto-scale a 3node Cassandra cluster with Replication Factor 3 and Consistency Level 1 on Amazon EC2 instances. Despite the load balancer one of the autoscaled nodes has zero CPU utilization and the other autoscaled node has…
1
vote
2 answers

Cassandra stress-tool failing

I'm trying to test cassandra-stress tool. By starting the tool with a write I get this error: /bin $ ./cassandra-stress write -node 10.xxx.xx.1:31xx5 java.lang.RuntimeException: java.lang.IllegalArgumentException: 10.xxx.xx.1:31xx5: invalid IPv6…
jagatjyoti
  • 699
  • 3
  • 10
  • 29
1
vote
1 answer

cassandra-stress what does it mean?

I ran cassandra-stress on an ec2 m3-medium which hosts 1 of 3 nodes in my cluster. cassandra-stress write n=100000 -schema "replication(strategy=NetworkTopologyStrategy, us-east=1)" I got this result Results: op rate : 2794…
mehnaazm
  • 287
  • 1
  • 4
  • 14
1
vote
1 answer

cassandra client-to-node encryption with cassandra-stress

I have enabled client-to-node and node-to-node encryption in my cassandra cluster. What optionial parameters do I need to pass to get cassandra-stress to work? I'm am striking out finding any examples or good documentation on using this.
jwiencek
  • 11
  • 3
1
vote
2 answers

Estimation of data volume

I have a Cassandra cluster with 3 nodes which has data from 3 applications. Now, we are planning to add 3 news applications that will increase the workload on the cluster, I want to know the different steps to know the future projection like, if we…
1
vote
1 answer

what is select distribution ratio under insert distributions in cassandra stress tool?

select distribution ratio: The ratio of rows each partition should insert as a proportion of the total possible rows for the partition (as defined by the clustering distribution columns). default FIXED(1)/1 can someone explain what this means? and…
user1870400
  • 6,028
  • 13
  • 54
  • 115
1
vote
1 answer

cassandra stress testing distribution of writes

How do I build a test that will tell me which Cassandra nodes are being written to, so I would want to specify number of nodes and replication factor and get back which nodes are affected by each write as the result of an attempted insert. this will…
Alex
  • 2,342
  • 1
  • 18
  • 30