You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by br...@apache.org on 2010/08/15 22:39:18 UTC

svn commit: r985750 - /cassandra/trunk/contrib/py_stress/stress.py

Author: brandonwilliams
Date: Sun Aug 15 20:39:18 2010
New Revision: 985750

URL: http://svn.apache.org/viewvc?rev=985750&view=rev
Log:
stress.py uses the newly named SimpleStrategy

Modified:
    cassandra/trunk/contrib/py_stress/stress.py

Modified: cassandra/trunk/contrib/py_stress/stress.py
URL: http://svn.apache.org/viewvc/cassandra/trunk/contrib/py_stress/stress.py?rev=985750&r1=985749&r2=985750&view=diff
==============================================================================
--- cassandra/trunk/contrib/py_stress/stress.py (original)
+++ cassandra/trunk/contrib/py_stress/stress.py Sun Aug 15 20:39:18 2010
@@ -153,7 +153,7 @@ def get_client(host='127.0.0.1', port=91
 def make_keyspaces():
     cfams = [CfDef(keyspace='Keyspace1', name='Standard1'),
              CfDef(keyspace='Keyspace1', name='Super1', column_type='Super')]
-    keyspace = KsDef(name='Keyspace1', strategy_class='org.apache.cassandra.locator.RackUnawareStrategy', replication_factor=options.replication, cf_defs=cfams)
+    keyspace = KsDef(name='Keyspace1', strategy_class='org.apache.cassandra.locator.SimpleStrategy', replication_factor=options.replication, cf_defs=cfams)
     client = get_client(nodes[0], options.port)
     client.transport.open()
     try: