cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pavel Yaskevich (JIRA)" <>
Subject [jira] [Commented] (CASSANDRA-3177) replication strategy with stress test results in keyspace creation error
Date Wed, 14 Sep 2011 10:59:08 GMT


Pavel Yaskevich commented on CASSANDRA-3177:

you can't specify --replication-factor with NetworkTopologyStrategy, the error in your system.log
Caused by: org.apache.cassandra.config.ConfigurationException: replication_factor is an option
for SimpleStrategy, not NetworkTopologyStrategy

Try `-D nodes2 --consistency-level=EACH_QUORUM --threads=10 --column-size=32 --keep-going
--num-keys=50000 -r --replication-strategy=NetworkTopologyStrategy --strategy-properties=DC1:1,DC2:1`

That works fine for me.

> replication strategy with stress test results in keyspace creation error 
> -------------------------------------------------------------------------
>                 Key: CASSANDRA-3177
>                 URL:
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Tests
>    Affects Versions: 0.8.5
>         Environment: ubuntu 10.04 lts server x64
> Linux ip-10-108-87-188 2.6.32-312-ec2 #24-Ubuntu SMP Fri Jan 7 18:30:50 UTC 2011 x86_64
> Amazon EC2 Multi Region Setup 
>            Reporter: Gourav Shah
>            Assignee: Pavel Yaskevich
>            Priority: Trivial
> I am using java stress testing utility packaged with cassandra. I tried specifying replication
strategy which results in keyspace not being created and throws "Internal error processing
> ./stress -D nodes2  --consistency-level=EACH_QUORUM --threads=10 --replication-factor=3
--column-size=32 --keep-going --num-keys=50000  -r --replication-strategy=NetworkTopologyStrategy
> Internal error processing system_add_keyspace
> Exception in thread "Thread-10" java.lang.RuntimeException: Keyspace Keyspace1 does not
>         at org.apache.cassandra.stress.Session.getClient(Unknown Source)
>         at org.apache.cassandra.stress.Session.getClient(Unknown Source)
>         at org.apache.cassandra.stress.StressAction$ Source)

This message is automatically generated by JIRA.
For more information on JIRA, see:


View raw message