cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aaron morton <>
Subject Re: while Trying to Drop a Collection
Date Thu, 31 May 2012 09:58:03 GMT
There are two times of timeouts. The thrift TimedOutException occurs when the coordinator times
out waiting for the CL level nodes to respond. The error is transmitted back to the client
and raised.  

This is a client side socket timeout waiting for the coordinator to respond. See the CassandraHostConfigurator.setCassandraThriftSocketTimeout()


Aaron Morton
Freelance Developer

On 31/05/2012, at 11:44 AM, Christof Bornhoevd wrote:

> Hello,
> We are using Cassandra 1.0.8 with Hector 1.0-5 on both Windows and Linux. In our development/test
environment we always recreate the schema in Cassandra (first dropping all ColumnFamilies
then recreating them) and then seeding the test data. We simply use cluster.dropColumnFamily(keyspace.getKeyspaceName(),
collectionName); to drop ColumnFamilies. The client is using ThriftFramedTransport (configurator.setUseThriftFramedTransport(true);).
> Every so often we run into the following exception (with different ColumnFamilies):
> Caused by: me.prettyprint.hector.api.exceptions.HectorTransportException: org.apache.thrift.transport.TTransportException: Read timed out
> at me.prettyprint.cassandra.service.ExceptionsTranslatorImpl.translate(
> at me.prettyprint.cassandra.service.AbstractCluster$7.execute(
> at me.prettyprint.cassandra.service.AbstractCluster$7.execute(
> at me.prettyprint.cassandra.service.Operation.executeAndSetResult(
> at me.prettyprint.cassandra.connection.HConnectionManager.operateWithFailover(
> at me.prettyprint.cassandra.service.AbstractCluster.dropColumnFamily(
> at me.prettyprint.cassandra.service.AbstractCluster.dropColumnFamily(
> at com.supervillains.plouton.cassandradatastore.CassandraDataStore.deleteCollection(
> ... 57 more
> Is this problem related to (which
should have been fixed with Cassandra 1.0.6) or could there be anything we do wrong here?
> Thanks in advance for any kind help!
> Chris

View raw message