From user-return-31577-apmail-cassandra-user-archive=cassandra.apache.org@cassandra.apache.org Fri Feb 1 17:33:22 2013 Return-Path: X-Original-To: apmail-cassandra-user-archive@www.apache.org Delivered-To: apmail-cassandra-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 12401E2C9 for ; Fri, 1 Feb 2013 17:33:22 +0000 (UTC) Received: (qmail 79546 invoked by uid 500); 1 Feb 2013 17:33:19 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 79523 invoked by uid 500); 1 Feb 2013 17:33:19 -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 79514 invoked by uid 99); 1 Feb 2013 17:33:19 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 01 Feb 2013 17:33:19 +0000 X-ASF-Spam-Status: No, hits=2.2 required=5.0 tests=HTML_MESSAGE,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-a59.g.dreamhost.com) (208.113.200.5) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 01 Feb 2013 17:33:12 +0000 Received: from homiemail-a59.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a59.g.dreamhost.com (Postfix) with ESMTP id 0B46D564071 for ; Fri, 1 Feb 2013 09:32:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=thelastpickle.com; h=from :content-type:message-id:mime-version:subject:date:references:to :in-reply-to; s=thelastpickle.com; bh=NLpIhPOuTI/6aQgkK+ovTaD0PY s=; b=jgFsF9dy+ENXAv+/ZJBsRkDUiFMVw8DZflSYieNWNUUUcU0xgdAmhC8Lo7 n0E2kvY4XQLXufLu6wSRGRowRLvToh2gSFb/aDo/ElV0w3RTLwtLUsdfOa1/+gHh sYGChLjhDVaop+X7E/FAOPbDHRoBK5ApYlrqBTWJFWLIA1XkM= Received: from [172.16.1.8] (unknown [203.86.207.101]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: aaron@thelastpickle.com) by homiemail-a59.g.dreamhost.com (Postfix) with ESMTPSA id 8363656406C for ; Fri, 1 Feb 2013 09:32:51 -0800 (PST) From: aaron morton Content-Type: multipart/alternative; boundary="Apple-Mail=_0CCC46A2-C179-4F13-9732-3BA755FAD549" Message-Id: Mime-Version: 1.0 (Mac OS X Mail 6.2 \(1499\)) Subject: Re: Inserting via thrift interface to column family created with Compound Key via cql3 Date: Sat, 2 Feb 2013 06:32:50 +1300 References: To: user@cassandra.apache.org In-Reply-To: X-Mailer: Apple Mail (2.1499) X-Virus-Checked: Checked by ClamAV on apache.org --Apple-Mail=_0CCC46A2-C179-4F13-9732-3BA755FAD549 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=iso-8859-1 Whats the full error stack on the client ?=20 Are you using a pre-build thrift client or you own ? If the later try = using a pre built client first, like Hector or pycassa. If it works = there look into how that code works and go from there.=20 Cheers ----------------- Aaron Morton Freelance Cassandra Developer New Zealand @aaronmorton http://www.thelastpickle.com On 31/01/2013, at 5:24 AM, Oleksandr Petrov = wrote: > BTW, thanks for chiming in! >=20 > No-no, I'm using Thrift client, not inserting via cql. > I'm serializing via CompositeType, actually. = CompositeType.getInstance(UTF8Type, UTF8Type).decompose(["firstkeypart", = "secondkeypart"]); >=20 > Hm... =46rom what you say I understand that it's technically possible = :/=20 > So I must be wrong somewhere, >=20 --Apple-Mail=_0CCC46A2-C179-4F13-9732-3BA755FAD549 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=iso-8859-1 Whats = the full error stack on the client ? 

Are you = using a pre-build thrift client or you own ? If the later try using a = pre built client first, like Hector or pycassa. If it works there look = into how that code works and go from = there. 

Cheers

http://www.thelastpickle.com

On 31/01/2013, at 5:24 AM, Oleksandr Petrov <oleksandr.petrov@gmail.com&= gt; wrote:

BTW, thanks for chiming = in!

No-no, I'm using Thrift client, not = inserting via cql.
I'm serializing via CompositeType, = actually. CompositeType.getInstance(UTF8Type, = UTF8Type).decompose(["firstkeypart", "secondkeypart"]);

Hm... =46rom what you say I = understand that it's technically possible :/ 
So= I must be wrong somewhere,


= --Apple-Mail=_0CCC46A2-C179-4F13-9732-3BA755FAD549--