Permalink
Browse files

Update to C* 1.2.0-rc1 (and fix stress package name)

  • Loading branch information...
1 parent 8b43684 commit 7fd2a4318c9d57934b6584e9c4b49a04ba4e1d6d @pcmanus pcmanus committed Dec 18, 2012
View
@@ -27,7 +27,7 @@
<dependency>
<groupId>org.apache.cassandra</groupId>
<artifactId>cassandra-thrift</artifactId>
- <version>1.2.0-beta3</version>
+ <version>1.2.0-rc1</version>
</dependency>
<dependency>
@@ -61,7 +61,7 @@
<id>default</id>
<properties>
<env>default</env>
- <cassandra.version>1.2.0-beta3</cassandra.version>
+ <cassandra.version>1.2.0-rc1</cassandra.version>
</properties>
<activation>
<activeByDefault>true</activeByDefault>
@@ -38,7 +38,7 @@
<configuration>
<archive>
<manifest>
- <mainClass>com.datastax.driver.examples.stress.Stress</mainClass>
+ <mainClass>com.datastax.driver.stress.Stress</mainClass>
</manifest>
</archive>
<descriptorRefs>
@@ -1,4 +1,4 @@
-package com.datastax.driver.examples.stress;
+package com.datastax.driver.stress;
import java.util.concurrent.*;
@@ -1,4 +1,4 @@
-package com.datastax.driver.examples.stress;
+package com.datastax.driver.stress;
import java.nio.ByteBuffer;
import java.util.Random;
@@ -98,7 +98,7 @@ public boolean hasNext() {
}
public QueryGenerator.Request next() {
- BoundStatement b = stmt.newBoundStatement();
+ BoundStatement b = stmt.bind();
b.setInt("key", i);
for (int i = 0; i < (Integer)options.valueOf("columns-per-row"); ++i)
b.setBytes("c" + i, makeValue(options));
@@ -1,4 +1,4 @@
-package com.datastax.driver.examples.stress;
+package com.datastax.driver.stress;
import java.util.concurrent.*;
@@ -1,4 +1,4 @@
-package com.datastax.driver.examples.stress;
+package com.datastax.driver.stress;
import java.util.Iterator;
@@ -1,4 +1,4 @@
-package com.datastax.driver.examples.stress;
+package com.datastax.driver.stress;
import java.io.File;
import java.util.concurrent.*;
@@ -1,4 +1,4 @@
-package com.datastax.driver.examples.stress;
+package com.datastax.driver.stress;
import java.util.*;
import java.util.concurrent.*;
View
@@ -17,7 +17,7 @@
<dependency>
<groupId>org.apache.cassandra</groupId>
<artifactId>cassandra-all</artifactId>
- <version>1.2.0-beta3</version>
+ <version>1.2.0-rc1</version>
</dependency>
<dependency>

0 comments on commit 7fd2a43

Please sign in to comment.