Return-Path: Delivered-To: apmail-cassandra-user-archive@www.apache.org Received: (qmail 66331 invoked from network); 7 Jun 2010 22:21:24 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 7 Jun 2010 22:21:24 -0000 Received: (qmail 20232 invoked by uid 500); 7 Jun 2010 22:21:23 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 20111 invoked by uid 500); 7 Jun 2010 22:21:23 -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 20103 invoked by uid 99); 7 Jun 2010 22:21:23 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 07 Jun 2010 22:21:23 +0000 X-ASF-Spam-Status: No, hits=0.3 required=10.0 tests=AWL,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of jshook@gmail.com designates 209.85.212.44 as permitted sender) Received: from [209.85.212.44] (HELO mail-vw0-f44.google.com) (209.85.212.44) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 07 Jun 2010 22:21:17 +0000 Received: by vws19 with SMTP id 19so2766851vws.31 for ; Mon, 07 Jun 2010 15:20:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:date:message-id :subject:from:to:content-type; bh=JRpT7bHmR521yrAEjY97HPs+i4YC0kdN2wrGnWBO79E=; b=nT/GjnXgs4tEzFgxDFEQh0IHN7t36G031knov3JJGe0qytTKqMlm/AfF6/L4kENgqx UqFr2oRhSYMHyb9ik8U9HLElcUFC5oJogS+Eh1Pj61WiSLg3XM9qnm0fpfYWPIpDqrAi 0z+27SxYvPcmg63fiXwNgtzWh3Oe7a2Py5+Tk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=xI9VIfWkF7F/TmsDYah3RBg4N2SP+l33aqeUcE7X/bKaemsErEwtdb23h607iTdxak Ir2A92is0TGKzrHkfLTnP6eBrrD/0+KxO6ckhaR5oEYlSSvcEoG6l0id+5wVDF/uAlaY F4RZb0JVv/6qdIZAL+F0Gt2nSiO8e1rn5ek6M= MIME-Version: 1.0 Received: by 10.224.59.132 with SMTP id l4mr9092493qah.241.1275949256292; Mon, 07 Jun 2010 15:20:56 -0700 (PDT) Received: by 10.229.95.132 with HTTP; Mon, 7 Jun 2010 15:20:56 -0700 (PDT) Date: Mon, 7 Jun 2010 17:20:56 -0500 Message-ID: Subject: Perl/Thrift/Cassandra strangeness From: Jonathan Shook To: user@cassandra.apache.org Content-Type: text/plain; charset=ISO-8859-1 I have a structure like this: CF:"Status" { Row("Component42") { SuperColumn(1275948636203) (epoch millis) { sub columns... } } } The supercolumns are dropped in periodically by system A, which is using Hector. System B uses a lightweight perl/Thrift client to reduce process overhead. (It gets called as a process frequently) This will go away at some point, but for now it is the de-facto means for integrating the two systems. According to the API docs, under get_range_slices, "The empty string ("") can be used as a sentinel value to get the first/last existing key (or first/last column in the column predicate parameter)" This seems to conflict directly with the error message that I am getting: "column name must not be empty", which ISA Cassandra::InvalidRequestException. The point is to get the "last" super-column. I've also tried to set the predicate's slice_range for "all columns, reversed, limit 1" but it simply returns multiple super columns. Is the Perl Thrift client problematic, or is there something else that I am missing?