You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@cassandra.apache.org by Tzach Livyatan <tz...@cloudius-systems.com> on 2015/01/21 15:37:29 UTC

cassandra-stress - confusing documentation

Hi all
I'm using cassandra-stress directly from apache-cassandra-2.1.2/tools/bin
The documentation I found
http://www.datastax.com/documentation/cassandra/2.1/cassandra/tools/toolsCStress_t.html
is either too old or too advance, but does not match what I use.

In particular, I fail to use the -key populate=1..1000000 option as used in
the two nodes example from the link above.

#On Node1$ cassandra-stress write tries=20 n=1000000 cl=one -mode
native cql3 -schema keyspace="Keyspace1" -key populate=1..1000000 -log
file=~/node1_load.log -node $NODES
 #On Node2$ cassandra-stress write tries=20 n=1000000 cl=one -mode
native cql3 -schema keyspace="Keyspace1" -key
populate=1000001..2000000 -log file=~/node2_load.log -node $NODES

Can some one please direct me to the right doc, or to a valid example of
using populate range?

Thanks
Tzach