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


      

Reply via email to