Hmm, I thought the Thrift API was moved to 18 before beta2 was released. I'll make a matching release for pycassa in just a moment. Thanks for the notice.
By the way, there is a pycassa specific mailing list, pycassa-disc...@googlegroups.com - Tyler On Wed, Oct 6, 2010 at 12:13 PM, Dipti Mathur <diptidmat...@gmail.com>wrote: > Hi All, > > I was trying to connect to cassandra using the pycassa module. Looks like > there is a API cersion mismatch. Any ideas where I can get the right version > of the APIs? > > I am using: > INFO 22:11:50,860 Cassandra version: 0.7.0-beta2 > INFO 22:11:50,861 Thrift API version: 17.1.0 > > Error message on python prompt: > > Python 2.6.5 (r265:79063, Apr 16 2010, 13:09:56) > [GCC 4.4.3] on linux2 > Type "help", "copyright", "credits" or "license" for more information. > >>> import pycassa > >>> client=pycassa.connect('keyspace1',timeout=3.5) > >>> cf=pycassa.ColumnFamily(client,'Standard1') > Traceback (most recent call last): > File "<stdin>", line 1, in <module> > File "/home/dipti/src/pycassa/pycassa/columnfamily.py", line 125, in > __init__ > col_fam = client.get_keyspace_description()[self.column_family] > File "/home/dipti/src/pycassa/pycassa/connection.py", line 273, in > get_keyspace_description > ks_def = self.describe_keyspace(keyspace) > File "/home/dipti/src/pycassa/pycassa/connection.py", line 227, in > _client_call > conn = self._ensure_connection() > File "/home/dipti/src/pycassa/pycassa/connection.py", line 238, in > _ensure_connection > conn = self.connect() > File "/home/dipti/src/pycassa/pycassa/connection.py", line 198, in > connect > self._recycle) > File "/home/dipti/src/pycassa/pycassa/connection.py", line 64, in > __init__ > "(Client: %s, Server: %s)" % (API_VERSION[0], server_api_version[0]) > AssertionError: Thrift API version mismatch. (Client: 18, Server: 17) > >>> > > >