[jira] [Commented] (CASSANDRA-3177) replication strategy with stress test results in keyspace creation error

2011-09-14 Thread Pavel Yaskevich (JIRA)

[ 
https://issues.apache.org/jira/browse/CASSANDRA-3177?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13104411#comment-13104411
 ] 

Pavel Yaskevich commented on CASSANDRA-3177:


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

Try `-D nodes2 --consistency-level=EACH_QUORUM --threads=10 --column-size=32 
--keep-going --num-keys=5 -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: 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=5  -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




[jira] [Commented] (CASSANDRA-3177) replication strategy with stress test results in keyspace creation error

2011-09-12 Thread Gourav Shah (JIRA)

[ 
https://issues.apache.org/jira/browse/CASSANDRA-3177?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=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=5  -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