Return-Path: Delivered-To: apmail-incubator-cassandra-user-archive@minotaur.apache.org Received: (qmail 824 invoked from network); 19 Oct 2009 22:52:36 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 19 Oct 2009 22:52:36 -0000 Received: (qmail 22539 invoked by uid 500); 19 Oct 2009 22:52:36 -0000 Delivered-To: apmail-incubator-cassandra-user-archive@incubator.apache.org Received: (qmail 22497 invoked by uid 500); 19 Oct 2009 22:52:36 -0000 Mailing-List: contact cassandra-user-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: cassandra-user@incubator.apache.org Delivered-To: mailing list cassandra-user@incubator.apache.org Received: (qmail 22275 invoked by uid 99); 19 Oct 2009 22:52:35 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 19 Oct 2009 22:52:35 +0000 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [74.125.149.67] (HELO na3sys009aog101.obsmtp.com) (74.125.149.67) by apache.org (qpsmtpd/0.29) with SMTP; Mon, 19 Oct 2009 22:52:21 +0000 Received: from source ([209.85.222.172]) by na3sys009aob101.postini.com ([74.125.148.12]) with SMTP ID DSNKStztj24a4GREExXEE1wZUgE8zzeE8caK@postini.com; Mon, 19 Oct 2009 15:52:00 PDT Received: by mail-pz0-f172.google.com with SMTP id 2so1198785pzk.26 for ; Mon, 19 Oct 2009 15:51:59 -0700 (PDT) MIME-Version: 1.0 Received: by 10.114.252.35 with SMTP id z35mr7493742wah.118.1255992719052; Mon, 19 Oct 2009 15:51:59 -0700 (PDT) Date: Mon, 19 Oct 2009 15:51:59 -0700 Message-ID: Subject: Encountering timeout exception when running get_key_range From: Ramzi Rabah To: cassandra-user@incubator.apache.org Content-Type: text/plain; charset=ISO-8859-1 X-Virus-Checked: Checked by ClamAV on apache.org 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 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 Cassandra.java (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(StorageProxy.java:560) at org.apache.cassandra.service.CassandraServer.get_key_range(CassandraServer.java:595) at org.apache.cassandra.service.Cassandra$Processor$get_key_range.process(Cassandra.java:766) at org.apache.cassandra.service.Cassandra$Processor.process(Cassandra.java:609) at org.apache.thrift.server.TThreadPoolServer$WorkerProcess.run(TThreadPoolServer.java:253) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907) at java.lang.Thread.run(Thread.java:619) Caused by: java.util.concurrent.TimeoutException: Operation timed out. at org.apache.cassandra.net.AsyncResult.get(AsyncResult.java:97) at org.apache.cassandra.service.StorageProxy.getKeyRange(StorageProxy.java:556) ... 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 Thanks Ray