After many attempts I found this error only occurred when using PHP
thrift_protocol extension. I don't know if there are some parameters that I
could adjust for this issue. By the way, without the ext the speed is
obviously slow.

On Thu, Apr 22, 2010 at 12:01 PM, Ken Sandney <bluefl...@gmail.com> wrote:

> I am using PHP as client to talk to Cassandra server but I found out if any
> column value > 8192 bytes, the client crashed with the following error:
>
> PHP Fatal error:  Uncaught exception 'TException' with message 'TSocket:
>> timed out reading 1024 bytes from 10.0.0.177:9160' in
>> /home/phpcassa/include/thrift/transport/TSocket.php:264
>> Stack trace:
>> #0 /home/phpcassa/include/thrift/transport/TBufferedTransport.php(126):
>> TSocket->read(1024)
>> #1 [internal function]: TBufferedTransport->read(8192)
>> #2 /home/phpcassa/include/thrift/packages/cassandra/Cassandra.php(642):
>> thrift_protocol_read_binary(Object(TBinaryProtocolAccelerated),
>> 'cassandra_Cassa...', false)
>> #3 /home/phpcassa/include/thrift/packages/cassandra/Cassandra.php(615):
>> CassandraClient->recv_batch_insert()
>> #4 /home/phpcassa/include/phpcassa.php(197):
>> CassandraClient->batch_insert('Keyspace1', '38246', Array, 1)
>> #5 /home/phpcassa/test1.php(51): CassandraCF->insert('38246', Array)
>> #6 {main}
>>   thrown in /home/phpcassa/include/thrift/transport/TSocket.php on line
>> 264
>>
>
> Any idea about this?
>

Reply via email to