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
10
votes
4 answers

How to use cassandra Stress tool

I would like learn more on cassandra stress tool , like how I can do the stress test and study the result. When cassandra-stress is executed from the cmd where is the keyspace made ,How to view them ?
drusya
  • 288
  • 1
  • 2
  • 12
6
votes
4 answers

cassandra-stress "Failed to connect over JMX; not collecting these stats"

I’m trying to use the cassandra-stress tool for the first time today. Although I'm able to run the tool, a lot of "Failed to connect over JMX; not collecting these stats" messages are displayed in the output Command cassandra-stress user \ …
PJ.
  • 1,196
  • 2
  • 12
  • 25
5
votes
1 answer

cassandra-stress: URI is not absolute error

I am trying to run cassandra-stress from a bash script: HUB_STATUS_YAML="~/some-path/hub_errors.yaml" COMMAND="cassandra-stress user profile=${HUB_STATUS_YAML} ops(insert=1)" echo About to run $COMMAND $COMMAND I end up with the following error:…
5
votes
1 answer

Stress Test for Cassandra

i'm using the stress test provided within cassandra in DataStax Enterprise. I'd like to have some information about it and cassandra too, if someone knows it. - First of all, which nodes the stress test use? I mean, when i use the comand (on a ring…
user2867270
  • 161
  • 2
  • 8
4
votes
0 answers

UnavailableException: Not enough replicas available for query at consistency LOCAL_ONE Cassandra Stress

I try to make Materialized View tests on our cassandra structure.. I installed Cassandra 3.5 on 6 Node Debian 8 servers from apache repos. Then I try to run basic stress on it, then I came across with these errors. I can't configure that why I gets…
Erol Guzoğlu
  • 486
  • 6
  • 24
4
votes
1 answer

Usage of the Cassandra tool cassandra-stress

I want to benchmark my Cassandra Clusters with 1, 2, 3 and 4 instances. So I ran the cassandra-stress tool on one of the nodes. The benchmark shows strange results, see graph below (--> the one-node cluster has more ops/sek than the 2-/3-/4-node…
D. Müller
  • 3,336
  • 4
  • 36
  • 84
3
votes
0 answers

CStress graph has "Undefined" aggregate statistics for 3.6 and 3.7

My cluster runs Cassandra 3.6 currently. When I run cassandra 3.6's cassandra-stress tool with the -graph option, the aggregates show up fine in the console output as the tool runs, but on the graph every single statistic is displayed as "Undefined"…
2
votes
1 answer

Apache Cassandra 3.11.6: clustering key error, Undefined column name in table after cass-stress write

I am currently experiencing an issue where I try to SELECT or INSERT specific column data from cassandra and keep getting an undefined column name error, despite the fact that the column name is a clustering key when looking at the table. However,…
P. Thomsen
  • 25
  • 7
2
votes
1 answer

Can cassandra-stress tool be run against existing table data?

I have an existing Cassandra test install that I have been testing on. The table I want to run the cassandra-stress tool against currently has real (not live) data, around 100k rows. So I was wondering if the tool can be used against that data, or…
MeanwhileInHell
  • 6,780
  • 17
  • 57
  • 106
2
votes
1 answer

Cassandra-Stress stops with errors

I have installed cassandra 3.0.9 on server having centos 7. while trying to execute cassandra-stress with below command cassandra-stress mixed n=2000000 -pop seq=1..2000000 -rate thread=2000 -node 10.10.0.1 it start executing according to command…
Dushyant Gohil
  • 67
  • 1
  • 12
2
votes
2 answers

How do I define multiple table definitions and multiple column specs for cassandra-stress profile file?

# Keyspace Name keyspace: demo1 # The CQL for creating a keyspace (optional if it already exists) keyspace_definition: | CREATE KEYSPACE demo1; # Table name table: sample_test # The CQL for creating a table you wish to stress (optional if it…
user1870400
  • 6,028
  • 13
  • 54
  • 115
2
votes
1 answer

Understanding opscenter metrics with that of nodetool commands cfstats and cfhistograms results

I am working on benchmarking the cassandra cluster and hence using cassandra-stress tool. Able to insert 1M records in one of the table with replication factor as 2, CL as quorum, threads rate as 40, on 2 nodes and running stress from…
Arun
  • 1,692
  • 15
  • 24
2
votes
2 answers

Cassandra stress tool authentication

I can't seem to get cassandra-stress working with authentication. I'm using simple username/password authentication. When I run cassandra-stress, I get auth failures (naturally). Anybody know how to specify username / passwords for stress-tool. I'm…
ashic
  • 6,367
  • 5
  • 33
  • 54
1
vote
1 answer

How does the cassandra-stress yaml file work?

I am looking at a yaml file for cassandra-stress: # Keyspace name and create CQL # keyspace: stressexample keyspace_definition: | CREATE KEYSPACE stressexample WITH replication = {'class': 'NetworkTopologyStrategy', 'AWS_VPC_US_WEST_2': '2'}; # #…
pavel_orekhov
  • 1,657
  • 2
  • 15
  • 37
1
vote
2 answers

cassandra-stress tool is throwing error when using a yaml file for user profile

I am able to run cassandra-stress with default keyspace and tables but With reference of datastax document I was trying to use cassandra-stress tool by using my own profile. Datastax doc -…
1
2 3 4