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 438569637 for ; Tue, 27 Mar 2012 06:15:11 +0000 (UTC) Received: (qmail 12561 invoked by uid 500); 27 Mar 2012 06:15:09 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 12432 invoked by uid 500); 27 Mar 2012 06:15:06 -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 12413 invoked by uid 99); 27 Mar 2012 06:15:05 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 27 Mar 2012 06:15:05 +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 (athena.apache.org: domain of puneetloya@gmail.com designates 74.125.82.172 as permitted sender) Received: from [74.125.82.172] (HELO mail-we0-f172.google.com) (74.125.82.172) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 27 Mar 2012 06:15:01 +0000 Received: by werb10 with SMTP id b10so5612808wer.31 for ; Mon, 26 Mar 2012 23:14:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=7U4ZYqo+q4ebvEu5mbI1UPNVa3AUhPfyu3F+IcmKLOQ=; b=uN7uLDuYBzICytX9ihLsry1KgKlaMVG5+1wl6RBZX/1IfbkH+qJO6FML+rI0aeVY5M k7uZQRAlQiXe3KEoa2Y59R0rs6lZAJBE00Cm8cvOcsAH/RntU14NL+VTjvzIwesoagtP U1EiEeuDqKymE3nJgu3nu4UISYifJMSAFpph+ClOulF9fBvUi8391PrawQVSi+jT0chq ek/E7euAW9xnFzxaSFq9yjPCqA6uo+FEnRO0L5WoJlwwQyJUFL/1zx2/pKvs7gJ2aXpV ov8VroLxHKbg57Huk/Oe4YO4DW0c4w5rLzh1TyQmWL0XZsq9/uXmSDQdgg5oWbmEPMck Ve9Q== MIME-Version: 1.0 Received: by 10.180.91.165 with SMTP id cf5mr2269324wib.2.1332828879665; Mon, 26 Mar 2012 23:14:39 -0700 (PDT) Received: by 10.223.156.193 with HTTP; Mon, 26 Mar 2012 23:14:39 -0700 (PDT) In-Reply-To: References: Date: Tue, 27 Mar 2012 11:44:39 +0530 Message-ID: Subject: Re: problem in create column family From: puneet loya To: user@cassandra.apache.org Content-Type: multipart/alternative; boundary=f46d043c81c4eb399004bc33678f X-Virus-Checked: Checked by ClamAV on apache.org --f46d043c81c4eb399004bc33678f Content-Type: text/plain; charset=ISO-8859-1 ya had created with UTF8Type before.. It gave the same error. On executing help assume command it is giving 'utf8' as a type. so can i use comparator='utf8' or not?? Please reply On Mon, Mar 26, 2012 at 9:17 PM, R. Verlangen wrote: > You should use the full type names, e.g. > > create column family MyColumnFamily with comparator=UTF8Type; > > > 2012/3/26 puneet loya > >> It is giving errors like " Unable to find abstract-type class >> 'org.apache.cassandra.db.marshal.utf8' " >> >> and java.lang.RuntimeException: >> org.apache.cassandra.db.marshal.MarshalException: cannot parse >> 'catalogueId' as hex bytes >> >> where catalogueId is a column that has utf8 as its data type. they may be >> just synactical errors.. >> >> Please suggest if u can help me out on dis?? >> > > > > -- > With kind regards, > > Robin Verlangen > www.robinverlangen.nl > > --f46d043c81c4eb399004bc33678f Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable ya had created with UTF8Type before.. It gave the same error.=A0

On executing help assume command it is giving 'utf8' as a = type.

so can i use comparator=3D'utf8' or = not??


Please reply

On Mon, Mar 26, 2012 at 9:17 PM, R. Verlangen <= robin@us2.nl> wrote:
You should use the full type names, e.g.

create column f= amily MyColumnFamily with comparator=3DUTF8Type;

=
2012/3/26 puneet loya <= puneetloya@gmail.= com>
It is giving errors like " Unable to fi= nd abstract-type class 'org.apache.cassandra.db.marshal.utf8' "= ;

and=A0java.lang.RuntimeException: org.apache.cassandra.db.ma= rshal.MarshalException: cannot parse 'catalogueId' as hex bytes

where catalogueId is a column that has utf8 as its data= type. they may be just synactical errors..

Please= suggest if u can help me out on dis??



--
With kind regards,

<= /div>
Robin Verlangen


--f46d043c81c4eb399004bc33678f--