Sounds like the sort of error you'd see if you were using thread-unsafe Thrift clients on multiple threads.
On Tue, May 11, 2010 at 11:23 PM, Waqas Badar <waqas.ba...@panasiangroup.com> wrote: > Dear all, > > We are using Cassandra on website. Whenever website traffic increases, we > got the following error (Python): > > File "/usr/local/lib/python2.6/dist-packages/pycassa/columnfamily.py", line > 199, in multiget > self._rcl(read_consistency_level)) > > File "/usr/local/lib/python2.6/dist-packages/pycassa/connection.py", line > 114, in client_call > return getattr(self._client, attr)(*args, **kwargs) > > File "/usr/local/lib/python2.6/dist-packages/cassandra/Cassandra.py", line > 346, in multiget_slice > return self.recv_multiget_slice() > > File "/usr/local/lib/python2.6/dist-packages/cassandra/Cassandra.py", line > 368, in recv_multiget_slice > result.read(self._iprot) > > File "/usr/local/lib/python2.6/dist-packages/cassandra/Cassandra.py", line > 1767, in read > fastbinary.decode_binary(self, iprot.trans, (self.__class__, > self.thrift_spec)) > > TypeError: Unexpected TType > > Any body also has got this issue ever? I Google on it but no help found. We > are using pycassa for Cassandra connectivity. Cassandra version is 0.5.1 > > Can anybody also guide how should we use Cassandra for website e.g. as on > each page access there is a new process start so how can we implement > connection pooling on website for Cassandra? > > -- Jonathan Ellis Project Chair, Apache Cassandra co-founder of Riptano, the source for professional Cassandra support http://riptano.com