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 023FAC67F for ; Sun, 6 May 2012 12:20:41 +0000 (UTC) Received: (qmail 69031 invoked by uid 500); 6 May 2012 12:20:38 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 68998 invoked by uid 500); 6 May 2012 12:20:38 -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 68990 invoked by uid 99); 6 May 2012 12:20:38 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 06 May 2012 12:20:38 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of cyril.auburtin@gmail.com designates 209.85.213.172 as permitted sender) Received: from [209.85.213.172] (HELO mail-yx0-f172.google.com) (209.85.213.172) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 06 May 2012 12:20:31 +0000 Received: by yenq7 with SMTP id q7so4375864yen.31 for ; Sun, 06 May 2012 05:20:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=pMFBDfFfiak9IdHa4ybg0Y1X4jx09HNrZctdg8Fh3ME=; b=LzNwmEv57NBb152YhzoJIRapQcvoDgiXHUJ3tstp50E1G82OXzOFRGBBZqcQ6YhIH9 hBYuOS7lIrCbIXoVkFhBjL6bL1vssBFFdYBOTT9x0baOjEjx9ZrrgGVOmp4jW7e6+tO6 VxwsLGHSbsFrSsq3CxBCnqL+PS9E5TggU/RaV9BLgOshz+4Mqb2qchxBGu1MwDN7Q2yX melgW+hpIQLPa/CEeYK2Qeoiyad70m/rC0luakT9//NE8e1ZLfbhcmqa0M51v9vZReSj X+Fzh+m8XYR+Nbrff8dIuhP8lPmf2Q3CrE4fDBaDbSKa+OyUiqWaWE9EShICcxCsZ1mx mOtw== Received: by 10.236.153.104 with SMTP id e68mr15350699yhk.36.1336306810972; Sun, 06 May 2012 05:20:10 -0700 (PDT) MIME-Version: 1.0 Received: by 10.100.32.7 with HTTP; Sun, 6 May 2012 05:19:50 -0700 (PDT) In-Reply-To: <000b01cd2b80$1f477f40$5dd67dc0$@chalamet.net> References: <000b01cd2b80$1f477f40$5dd67dc0$@chalamet.net> From: cyril auburtin Date: Sun, 6 May 2012 12:19:50 +0000 Message-ID: Subject: Re: [1.1] Can't create column To: user@cassandra.apache.org Content-Type: multipart/alternative; boundary=20cf302efd5ec76ba104bf5d2cfa --20cf302efd5ec76ba104bf5d2cfa Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable It's the comparator so? because I tried without the single quotes on column_name and same error thanks 2012/5/6 Pierre Chalamet > create column family Post with comparator=3DUTF8Type and > colum_metadata=3D[{column_name : user, validation_class : UTF8Type}] and > comment=3D'bla=92;**** > > ** ** > > - Pierre**** > > ** ** > > *From:* cyril auburtin [mailto:cyril.auburtin@gmail.com] > *Sent:* dimanche 6 mai 2012 13:10 > *To:* user@cassandra.apache.org > *Subject:* [1.1] Can't create column**** > > ** ** > > [default@ks] create column family Post with column_type =3D 'Standard' an= d > column_metadata =3D [{column_name: 'user', validation_class: 'UTF8Type'}, > {column_name: 'type', validation_class: 'UTF8Type'}] and comment =3D 'bla= ';* > *** > > java.lang.RuntimeException: > org.apache.cassandra.db.marshal.MarshalException: cannot parse 'user' as > hex bytes**** > > ** ** > --20cf302efd5ec76ba104bf5d2cfa Content-Type: text/html; charset=windows-1252 Content-Transfer-Encoding: quoted-printable It's the comparator so? because I tried without the single quotes on co= lumn_name and same error
thanks

2012/5= /6 Pierre Chalamet <pierre@chalamet.net>

c= reate column family Post with comparator=3DUTF8Type and colum_metadata=3D[{= column_name : user, validation_class=A0: UTF8Type}] and comment=3D'bla= =92;

=A0=

- Pierr= e

=A0<= /p>

From: cyril auburtin [mailto:cyril.auburtin@gmail.com]
Sent: dimanche 6 mai 2012 13:10
To: user@cassandra.apache.org
<= b>Subject: [1.1] Can't create column

=A0

[de= fault@ks]=A0create column family Post with column_type =3D 'Standard= 9; and column_metadata =3D [{column_name: 'user', validation_class:= 'UTF8Type'}, {column_name: 'type', validation_class: '= UTF8Type'}] and comment =3D 'bla';

java.lang.Runti= meException: org.apache.cassandra.db.marshal.MarshalException: cannot parse= 'user' as hex bytes

=A0


--20cf302efd5ec76ba104bf5d2cfa--