Return-Path: Delivered-To: apmail-cassandra-user-archive@www.apache.org Received: (qmail 64616 invoked from network); 16 Apr 2011 23:39:21 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 16 Apr 2011 23:39:21 -0000 Received: (qmail 38269 invoked by uid 500); 16 Apr 2011 23:39:18 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 38246 invoked by uid 500); 16 Apr 2011 23:39:18 -0000 Mailing-List: contact user-help@cassandra.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@cassandra.apache.org Delivered-To: mailing list user@cassandra.apache.org Received: (qmail 38238 invoked by uid 99); 16 Apr 2011 23:39:18 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 16 Apr 2011 23:39:18 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [208.113.200.5] (HELO homiemail-a47.g.dreamhost.com) (208.113.200.5) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 16 Apr 2011 23:39:12 +0000 Received: from homiemail-a47.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a47.g.dreamhost.com (Postfix) with ESMTP id 77210284058 for ; Sat, 16 Apr 2011 16:38:50 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; c=nofws; d=thelastpickle.com; h=content-type :mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to; q=dns; s= thelastpickle.com; b=u1NqsiZ3qRdJTYKXcDAXWSXEjfUGSiomBsNp092lu33 1BvrCceKZYooK941tL+IwsRitEg6ttwPGrbRtqCuSeCuw9tFfUw/al6HDrfs8fDh Z9qkI6mP8bnJsXyZpzAZh5zYxgXQswoebvCSl6UGbJ2u6s2fCaTE/5BnRUahKA68 = DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=thelastpickle.com; h= content-type:mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to; s= thelastpickle.com; bh=UJ4ZcWXkbMoBLIgx/LTgjUVBc/8=; b=CqQHo5sabs 1woEb6jkCRP6btvho1xNh9mJwM0Cn0I8hKoHNU8wsI/TzFT3kduah/DPbz8Pg3W/ 3ZWitN86ZiuOO4bZu1m62Aj1g+q3H0ep2u9O+4SWnhPuwQFoA7ggAKVK3r+MBS7i 1bJATazz59GolghkxZDfosNvUsXKq7QQQ= Received: from [10.0.1.155] (121-73-157-230.cable.telstraclear.net [121.73.157.230]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: aaron@thelastpickle.com) by homiemail-a47.g.dreamhost.com (Postfix) with ESMTPSA id F302D284057 for ; Sat, 16 Apr 2011 16:38:49 -0700 (PDT) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Apple Message framework v1084) Subject: Re: Problems with subcolumn retrieval after upgrade from 0.6 to 0.7 From: aaron morton In-Reply-To: Date: Sun, 17 Apr 2011 11:38:46 +1200 Content-Transfer-Encoding: quoted-printable Message-Id: <56163278-BEDC-4D1E-A7E8-0D8DBA86C332@thelastpickle.com> References: To: user@cassandra.apache.org X-Mailer: Apple Mail (2.1084) Can you run the same request as a get_slice naming the column in the = SlicePredicate and see what comes back ?=20 Can you reproduce the fault with logging set at DEBUG and send the logs = ? Also, whats the compare function like for your custom type ? Cheers Aaron =20 On 16 Apr 2011, at 07:34, Abraham Sanderson wrote: > I'm having some issues with a few of my ColumnFamilies after a = cassandra upgrade/import from 0.6.1 to 0.7.4. I followed the = instructions to upgrade and everything seem to work OK...until I got = into the application and noticed some wierd behavior. I was getting the = following stacktrace in cassandra occassionally when I did get = operations for a single subcolumn for some of the Super type CFs: >=20 > ERROR 12:56:05,669 Internal error processing get > java.lang.AssertionError > at org.apache.cassandra.thrift. > CassandraServer.get(CassandraServer.java:300) > at = org.apache.cassandra.thrift.Cassandra$Processor$get.process(Cassandra.java= :2655) > at = org.apache.cassandra.thrift.Cassandra$Processor.process(Cassandra.java:255= 5) > at = org.apache.cassandra.thrift.CustomTThreadPoolServer$WorkerProcess.run(Cust= omTThreadPoolServer.java:206) > at = java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:= 1110) > at = java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java= :603) > at java.lang.Thread.run(Thread.java:636) >=20 > The assertion that is failing is the check that only one column is = retrieved by the get. I did some debugging with the cli and a remote = debugger and found a few interesting patterns. First, the problem does = not seem consistently duplicatable. If one supercolumn is affected = though, it will happen more frequently for subcolumns that when sorted = appear at the beginning of the range. For columns near the end of the = range, it seems to be more intermittent, and almost never occurs when I = step through the code line by line. The only factor I can think of that = might cause issues is that I am using custom data types for all = supercolumns and columns. I originally thought I might be reading past = the end of the ByteBuffer, but I have quadrupled checked that this is = not the case. >=20 > Abe Sanderson