you're running a 0.7 stress.py against a 0.6 cassandra, that's not going to
work

On Thu, Jul 1, 2010 at 12:16 PM, maneela a <manee...@yahoo.com> wrote:

> Can someone direct me how to resolve this issue in cassandra 0.6.2 version?
>
> ./stress.py -o insert -n 10000 -y regular -d
> ec2-174-129-65-118.compute-1.amazonaws.com --threads 5 --keep-going
>
> Created keyspaces.  Sleeping 1s for propagation.
> Traceback (most recent call last):
>   File "./stress.py", line 381, in <module>
>     benchmark()
>   File "./stress.py", line 363, in insert
>     threads = self.create_threads('insert')
>   File "./stress.py", line 325, in create_threads
>     th = OperationFactory.create(type, i, self.opcounts, self.keycounts,
> self.latencies)
>   File "./stress.py", line 310, in create
>     return Inserter(i, opcounts, keycounts, latencies)
>   File "./stress.py", line 178, in __init__
>     self.cclient.set_keyspace('Keyspace1')
>   File
> "/home/ubuntu/cassandra/interface/thrift/gen-py/cassandra/Cassandra.py",
> line 333, in set_keyspace
>     self.recv_set_keyspace()
>   File
> "/home/ubuntu/cassandra/interface/thrift/gen-py/cassandra/Cassandra.py",
> line 349, in recv_set_keyspace
>     raise x
> thrift.Thrift.TApplicationException: Invalid method name: 'set_keyspace'
>
>
> Niru
>
>


-- 
Jonathan Ellis
Project Chair, Apache Cassandra
co-founder of Riptano, the source for professional Cassandra support
http://riptano.com

Reply via email to