You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@cassandra.apache.org by Jonathan Ellis <jb...@gmail.com> on 2010/07/01 21:32:56 UTC
Re: Cassandra 0.6.2 stress test failing due to setKeyspace issue
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 <ma...@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
Re: Cassandra 0.6.2 stress test failing due to setKeyspace issue
Posted by maneela a <ma...@yahoo.com>.
Thanks Jonathan
--- On Thu, 7/1/10, Jonathan Ellis <jb...@gmail.com> wrote:
From: Jonathan Ellis <jb...@gmail.com>
Subject: Re: Cassandra 0.6.2 stress test failing due to setKeyspace issue
To: user@cassandra.apache.org
Date: Thursday, July 1, 2010, 3:32 PM
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 <ma...@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 xthrift.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