incubator-cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From SSam <>
Subject Re:
Date Wed, 04 Aug 2010 22:04:49 GMT
Peter, Thank you so much for reply. 

I am not much familiar with python. 

I have executed the commands mentioned in your reply. 

Now it's failing with following error. Do I have put thrift.jar in  JAVA 

Traceback (most recent call last):
  File "", line 36, in <module>
    from thrift.transport import TTransport
ImportError: No module named thrift.transport


From: Peter Schuller <>
Sent: Wed, August 4, 2010 5:53:35 PM
Subject: Re:

> Can somebody please give steps to run cassandra  program.

Assuming you have the thrift compiler installed, something like (from
memory, not tested):

cd contrib/py_stress
thrift --gen py:new ../../interface/cassandra.thrift
export PYTHONPATH=$(pwd)/gen-py

/ Peter Schuller

View raw message