cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jbel...@apache.org
Subject svn commit: r799313 - in /incubator/cassandra/trunk: src/java/org/apache/cassandra/db/RangeReply.java test/system/stress.py
Date Thu, 30 Jul 2009 15:11:43 GMT
Author: jbellis
Date: Thu Jul 30 15:11:43 2009
New Revision: 799313

URL: http://svn.apache.org/viewvc?rev=799313&view=rev
Log:
table -> keyspace in stress.py.  patch by Michael Greene; reviewed by jbellis for CASSANDRA-271

Modified:
    incubator/cassandra/trunk/src/java/org/apache/cassandra/db/RangeReply.java
    incubator/cassandra/trunk/test/system/stress.py

Modified: incubator/cassandra/trunk/src/java/org/apache/cassandra/db/RangeReply.java
URL: http://svn.apache.org/viewvc/incubator/cassandra/trunk/src/java/org/apache/cassandra/db/RangeReply.java?rev=799313&r1=799312&r2=799313&view=diff
==============================================================================
--- incubator/cassandra/trunk/src/java/org/apache/cassandra/db/RangeReply.java (original)
+++ incubator/cassandra/trunk/src/java/org/apache/cassandra/db/RangeReply.java Thu Jul 30
15:11:43 2009
@@ -18,11 +18,7 @@
 */
 package org.apache.cassandra.db;
 
-import java.util.List;
-import java.util.ArrayList;
-import java.util.Collection;
-import java.util.Collections;
-import java.util.Arrays;
+import java.util.*;
 import java.io.IOException;
 
 import org.apache.cassandra.io.DataInputBuffer;
@@ -67,7 +63,7 @@
         {
             keys.add(bufIn.readUTF());
         }
-
+        
         return new RangeReply(keys);
     }
 }

Modified: incubator/cassandra/trunk/test/system/stress.py
URL: http://svn.apache.org/viewvc/incubator/cassandra/trunk/test/system/stress.py?rev=799313&r1=799312&r2=799313&view=diff
==============================================================================
--- incubator/cassandra/trunk/test/system/stress.py (original)
+++ incubator/cassandra/trunk/test/system/stress.py Thu Jul 30 15:11:43 2009
@@ -34,8 +34,8 @@
             data = md5(str(i)).hexdigest()
             for j in xrange(0, 1000):
                 key = '%s.%s.%s' % (time.time(), id, j)
-                client.insert('Table1', key, ColumnPath('Standard1', column='A'), data, i,
1)
-                client.insert('Table1', key, ColumnPath('Standard1', column='B'), data, i,
1)
+                client.insert('Keyspace1', key, ColumnPath('Standard1', column='A'), data,
i, 1)
+                client.insert('Keyspace1', key, ColumnPath('Standard1', column='B'), data,
i, 1)
                 self.count += 1
 
 class Stress(CassandraTester):



Mime
View raw message