cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ramzi Rabah <>
Subject Encountering timeout exception when running get_key_range
Date Mon, 19 Oct 2009 22:51:59 GMT
Hello all,

I am running into problems with get_key_range. I have
OrderPreservingPartitioner defined in storage-conf.xml and I am using
a columnfamily that looks like
     <ColumnFamily CompareWith="BytesType"

My command is client.get_key_range("Keyspace1", "DatastoreDeletionSchedule",
                    "", "", 25, ConsistencyLevel.ONE);

It usually works fine but after a day or so from server writes into
this column family, I started getting
ERROR [pool-1-thread-36] 2009-10-19 17:24:28,223 (line
770) Internal error processing get_key_range
java.lang.RuntimeException: java.util.concurrent.TimeoutException:
Operation timed out.
        at org.apache.cassandra.service.StorageProxy.getKeyRange(
        at org.apache.cassandra.service.CassandraServer.get_key_range(
        at org.apache.cassandra.service.Cassandra$Processor$get_key_range.process(
        at org.apache.cassandra.service.Cassandra$Processor.process(
        at org.apache.thrift.server.TThreadPoolServer$
        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(
        at java.util.concurrent.ThreadPoolExecutor$
Caused by: java.util.concurrent.TimeoutException: Operation timed out.
        at org.apache.cassandra.service.StorageProxy.getKeyRange(
        ... 7 more

I still get the timeout exceptions even though the servers have been
idle for 2 days. When I restart the cassandra servers, it seems to
work fine again. Any ideas what could be wrong?

By the way, I am using version:apache-cassandra-incubating-0.4.0-rc2
Not sure if this is fixed in the 0.4.1 version


View raw message