Return-Path: Delivered-To: apmail-cassandra-user-archive@www.apache.org Received: (qmail 72074 invoked from network); 4 Aug 2010 22:05:22 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 4 Aug 2010 22:05:22 -0000 Received: (qmail 47585 invoked by uid 500); 4 Aug 2010 22:05:20 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 47549 invoked by uid 500); 4 Aug 2010 22:05:20 -0000 Mailing-List: contact user-help@cassandra.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@cassandra.apache.org Delivered-To: mailing list user@cassandra.apache.org Received: (qmail 47536 invoked by uid 99); 4 Aug 2010 22:05:20 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 04 Aug 2010 22:05:20 +0000 X-ASF-Spam-Status: No, hits=4.4 required=10.0 tests=FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [74.6.228.92] (HELO n12.bullet.mail.ac4.yahoo.com) (74.6.228.92) by apache.org (qpsmtpd/0.29) with SMTP; Wed, 04 Aug 2010 22:05:11 +0000 Received: from [76.13.12.65] by n12.bullet.mail.ac4.yahoo.com with NNFMP; 04 Aug 2010 22:04:49 -0000 Received: from [76.13.10.166] by t6.bullet.mail.ac4.yahoo.com with NNFMP; 04 Aug 2010 22:04:49 -0000 Received: from [127.0.0.1] by omp107.mail.ac4.yahoo.com with NNFMP; 04 Aug 2010 22:04:49 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 432617.18485.bm@omp107.mail.ac4.yahoo.com Received: (qmail 8853 invoked by uid 60001); 4 Aug 2010 22:04:49 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1280959489; bh=ibzEtVbEo10WvBWeOA+JliPsj1d+zj0oh4NdNdFPG0M=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:References:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type; b=ocJPUo2g7G81viY1L611cjcv6o/4CInkLJEH4YlKvVxZ+CRRW1eWG1724XanRrkd7qRfzTzWBFtC2NyuKUsTnOTv8Ywdx1gXddxbv1WDvOxGs6KYj/gSk/zCYwbfNexHOn4Bh1SZWjXvcAdAjZUdbO8LKhVVJ9dxcV1157Veig0= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:X-YMail-OSG:Received:X-Mailer:References:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type; b=G8EnNKUEklXvCdgVdyTafqH4sMHntDb4jdHdPyo3WgS3l/A3Vh6oipYx6bjnE2LJeNj640HUBhjnzUNlEpmthr46oTHPXdBmc+BQb0f1TZLIgxTLFU/uLqEKEmKuqXhPLhIvdzaUghbSHgXvR45/xfG27VfTYvIH5vMSLgI9TWY=; Message-ID: <261267.8094.qm@web65707.mail.ac4.yahoo.com> X-YMail-OSG: Vg.ZICgVM1lQ2GMrDv22OlaS1fwxSv5ZRkAOpingER_F3.u K9ibuiviZi_.7_VRlm6z0h88KTcJvCpe9.1V6uUgk7wFsDFL_osujrJa4mbs dHto8Nuu06alJUbSq2BOflKLZWuv7XFFt7omACyB8zClhHNP65dFxrbQNHrP P3XCqyaPxY1NvuEzaJbrGdtvlcerBB3XbjsixmWKWTY1e1AlSqi5iavakll9 6IkRpNy0284HULYQ2fI5Sx40VxUZlAMLdhJ3_r0saoYaYuHQ.aDYIpe8JnMw 85V9MrHJcJk_y2.eexubg.ExM7uG_W7Zqyik5ne_kkcPHIpw- Received: from [63.88.95.99] by web65707.mail.ac4.yahoo.com via HTTP; Wed, 04 Aug 2010 15:04:49 PDT X-Mailer: YahooMailRC/420.4 YahooMailWebService/0.8.105.279950 References: <288143.1574.qm@web65705.mail.ac4.yahoo.com> Date: Wed, 4 Aug 2010 15:04:49 -0700 (PDT) From: SSam Subject: Re: stress.py To: user@cassandra.apache.org In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="0-455806390-1280959489=:8094" X-Virus-Checked: Checked by ClamAV on apache.org --0-455806390-1280959489=:8094 Content-Type: text/plain; charset=us-ascii 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 CLASSPATH. ---------------------------- Traceback (most recent call last): File "stress.py", line 36, in from thrift.transport import TTransport ImportError: No module named thrift.transport --------------------------------------------------- Thanks, SSam ________________________________ From: Peter Schuller To: user@cassandra.apache.org Sent: Wed, August 4, 2010 5:53:35 PM Subject: Re: stress.py > Can somebody please give steps to run cassandra stess.py 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 python stress.py -- / Peter Schuller --0-455806390-1280959489=:8094 Content-Type: text/html; charset=us-ascii
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 CLASSPATH.
----------------------------
Traceback (most recent call last):
  File "stress.py", line 36, in <module>
    from thrift.transport import TTransport
ImportError: No module named thrift.transport
---------------------------------------------------

Thanks,
SSam


From: Peter Schuller <peter.schuller@infidyne.com>
To: user@cassandra.apache.org
Sent: Wed, August 4, 2010 5:53:35 PM
Subject: Re: stress.py

> Can somebody please give steps to run cassandra stess.py  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
python stress.py

--
/ Peter Schuller

--0-455806390-1280959489=:8094--