As the README suggests, you need to run ant gen-thrift-py first. On Wed, Feb 2, 2011 at 2:53 PM, <shan...@accenture.com> wrote:
> Hi, > > > > I am trying to get the py_stress to work in Cassandra 0.7. I keep getting > this error: > > > > ubuntu@ip-10-114-85-218:~/apache-cassandra-0.7.0/contrib/py_stress$ python > stress.py > > Traceback (most recent call last): > > File "stress.py", line 520, in <module> > > make_keyspaces() > > File "stress.py", line 185, in make_keyspaces > > cfams = [CfDef(keyspace='Keyspace1', name='Standard1', > column_metadata=colms), > > NameError: global name 'CfDef' is not defined > > > > Any suggestions? > > > > Thanks, > > *Shan (Susie) Lu, *Analyst** > > Accenture Technology Labs - Silicon Valley ** > > cell +1 425.749.2546 <tel:+14257492546> > > email *shan...@accenture.com <charles.nebol...@accenture.com>* > > > > This message is for the designated recipient only and may contain > privileged, proprietary, or otherwise private information. If you have > received it in error, please notify the sender immediately and delete the > original. Any other use of the email by you is prohibited. >