You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Gourav Shah (JIRA)" <ji...@apache.org> on 2011/09/12 19:00:10 UTC
[jira] [Commented] (CASSANDRA-3177) replication strategy with
stress test results in keyspace creation error
[ https://issues.apache.org/jira/browse/CASSANDRA-3177?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13102802#comment-13102802 ]
Gourav Shah commented on CASSANDRA-3177:
----------------------------------------
The documentation I have been reading on the Multi-DC setup (e.g. http://www.datastax.com/docs/0.8/operations/datacenter) says the default strategy is NTS(NetworkTopologyStrategy). However, stress script used SimpleStrategy while creating keyspace. How do I make NTS work with stress tool? Please guide.
> replication strategy with stress test results in keyspace creation error
> -------------------------------------------------------------------------
>
> Key: CASSANDRA-3177
> URL: https://issues.apache.org/jira/browse/CASSANDRA-3177
> 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 GNU/Linux
> 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 system_add_keyspace"
> ./stress -D nodes2 --consistency-level=EACH_QUORUM --threads=10 --replication-factor=3 --column-size=32 --keep-going --num-keys=50000 -r --replication-strategy=NetworkTopologyStrategy --strategy-properties=DC1:1,DC2:1
> Internal error processing system_add_keyspace
> Exception in thread "Thread-10" java.lang.RuntimeException: Keyspace Keyspace1 does not exist
> at org.apache.cassandra.stress.Session.getClient(Unknown Source)
> at org.apache.cassandra.stress.Session.getClient(Unknown Source)
> at org.apache.cassandra.stress.StressAction$Consumer.run(Unknown Source)
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira