Permalink
Browse files

updated readme for mvn and first run instructions

  • Loading branch information...
1 parent 5d8d7dd commit 57d51c2c70d91548fbf55258e04ae8fcc1ae1b90 zznate committed Mar 21, 2011
Showing with 37 additions and 6 deletions.
  1. +37 −6 README.mdown
View
@@ -21,21 +21,52 @@ cassandra-stress is a currently just a command line app which supports the follo
-h,--help Print this help message and exit
-This project now runs as a stand-alone binary. If you have a binary version, use the command line arguments directly:
+This project now runs as a stand-alone binary via the Maven app-assempbler plugin. You must first clone the source of the project, then using maven, execute the install goal:
-`sh bin/stress -o read -b 50 -n 12000 localhost:9160`
+`mvn install`
+
+Move to the directory where the artiffacts are assembled:
+
+`cd taget/appassembler`
+
+Now you can execute the script directly as needed:
+
+`sh bin/stress -o insert -b 50 -n 12000 localhost:9160`
This will perform the operation then drop you into a shell in which you can perform additional operations. The command syntax is similar to the initial call, except that the operation is the only argument:
[cassandra-stress]
usage: operation [options]
operation can be one of: insert, read, rangeslice, multiget, replay [N]
-b,--batch-size <arg> The number of rows in the batch_mutate call
- -c,--columns <arg> The number of columsn to create per key
- -h,--help Print this help message and exit
- -m,--unframed Disable use of TFramedTransport
- -n,--num-keys <arg> The number of keys to create
-t,--threads <arg> The number of client threads we will create
+ -c,--columns <arg> The number of columsn to create per key
+ -C,--clients <arg> The number of pooled clients to use
+ -D,--discovery-delay <arg> The amount of time to wait between runs
+ of Auto host discovery. Providing a value
+ enables this service
+ -h,--help Print this help message and exit
+ -L,--consistency-levels <arg> Defaults to QUORUM for R+W, specified in
+ the form of [read]:[write] eg. '-L
+ ONE:ONE'
+ -M,--max-wait <arg> The Maximum time to wait on aquiring a
+ connection from the pool
+ (maxWaitTimeWhenExhausted). Default is
+ forever.
+ -m,--unframed Disable use of TFramedTransport
+ -n,--num-keys <arg> The number of keys to create
+ -o,--operation <arg> The type of operation: insert or select
+ -R,--retry-delay <arg> The amount of time to wait between runs
+ of Downed host retry delay execution. 30
+ seconds by default.
+ -S,--skip-retry-delay Disable downed host retry service
+ execution.
+ -T,--thrift-timeout <arg> The ThriftSocketTimeout value.
+ -t,--threads <arg> The number of client threads we will
+ create
+ -w,--colwidth <arg> The widht of the column in bytes. Default
+ is 16
+
To re-run the operation again, just type the operation name. So from the initial example above, re-running the read operation with the same parameters would be:

0 comments on commit 57d51c2

Please sign in to comment.