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 EFAF94B95 for ; Tue, 21 Jun 2011 07:07:18 +0000 (UTC) Received: (qmail 14958 invoked by uid 500); 21 Jun 2011 07:07:17 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 14525 invoked by uid 500); 21 Jun 2011 07:07:02 -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 14517 invoked by uid 99); 21 Jun 2011 07:07:00 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 21 Jun 2011 07:07:00 +0000 X-ASF-Spam-Status: No, hits=3.3 required=5.0 tests=HTML_MESSAGE,SPF_PASS,TRACKER_ID X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [203.199.18.82] (HELO mail1.impetus.co.in) (203.199.18.82) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 21 Jun 2011 07:06:53 +0000 Received: from MAIL2.impetus.co.in (192.168.100.8) by mail1.impetus.co.in (192.168.100.28) with Microsoft SMTP Server (TLS) id 14.1.289.1; Tue, 21 Jun 2011 12:36:30 +0530 Received: from mail1.impetus.co.in ([fe80::4c95:4ec3:183e:2d3]) by Mail2.impetus.co.in ([::1]) with mapi id 14.01.0289.001; Tue, 21 Jun 2011 12:36:30 +0530 From: Vivek Mishra To: "user@cassandra.apache.org" Subject: Create columnFamily Thread-Topic: Create columnFamily Thread-Index: Acwv4UVAQ6VVfPdeStyWwxDbYM5Cww== Date: Tue, 21 Jun 2011 07:06:29 +0000 Message-ID: <557E5EDB02B4C8459878EF1EC723AD281E2DF4A2@mail1.impetus.co.in> Accept-Language: en-GB, en-IN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [192.168.145.58] Content-Type: multipart/alternative; boundary="_000_557E5EDB02B4C8459878EF1EC723AD281E2DF4A2mail1impetuscoi_" MIME-Version: 1.0 X-Virus-Checked: Checked by ClamAV on apache.org --_000_557E5EDB02B4C8459878EF1EC723AD281E2DF4A2mail1impetuscoi_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable I understand that I might be missing something on my end. But somehow I can= not get this working using Cassandra-cli: [default@key1] create column family supusers with comparator=3DUTF8Type and= default_validation_class=3DUTF8Type and key_validation_class=3DUTF8Type an= d column_type=3DSuper; 59e2e950-9bd4-11e0-0000-242d50cf1fbf Waiting for schema agreement... ... schemas agree across the cluster SuperColumn family got created. Issued [default@key1] assume supusers keys as ascii; But still it is failing for: [default@key1] set supusers['31']['address']['city']=3D'noida'; org.apache.cassandra.db.marshal.MarshalException: cannot parse 'city' as he= x bytes Please suggest, what am I doing incorrect here? ________________________________ Write to us for a Free Gold Pass to the Cloud Computing Expo, NYC to attend= a live session by Head of Impetus Labs on 'Secrets of Building a Cloud Ven= dor Agnostic PetaByte Scale Real-time Secure Web Application on the Cloud '= . Looking to leverage the Cloud for your Big Data Strategy ? Attend Impetus w= ebinar on May 27 by registering at http://www.impetus.com/webinar?eventid= =3D42 . NOTE: This message may contain information that is confidential, proprietar= y, privileged or otherwise protected by law. The message is intended solely= for the named addressee. If received in error, please destroy and notify t= he sender. Any use of this email is prohibited when received in error. Impe= tus does not represent, warrant and/or guarantee, that the integrity of thi= s communication has been maintained nor that the communication is free of e= rrors, virus, interception or interference. --_000_557E5EDB02B4C8459878EF1EC723AD281E2DF4A2mail1impetuscoi_ Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

I understand that I mi= ght be missing something on my end. But somehow I cannot get this working u= sing Cassandra-cli:

 

[default@key1] crea= te column family supusers with comparator=3DUTF8Type and default_validation= _class=3DUTF8Type and key_validation_class=3DUTF8Type and column_type=3DSup= er;

 

59e2e950-9bd4-11e0-= 0000-242d50cf1fbf

Waiting for schema = agreement...

... schemas agree a= cross the cluster

 

SuperColumn family = got created.

 

Issued 

[default@key1] assu= me supusers keys as ascii;

 

But still it is fai= ling for:

 

[default@key1] set = supusers['31']['address']['city']=3D'noida';

 

o= rg.apache.cassandra.db.marshal.MarshalException: cannot parse 'city' as hex= bytes

&= nbsp;

&= nbsp;

P= lease suggest, what am I doing incorrect here?

&= nbsp;

&= nbsp;




Write to us for a Free Gold Pass to the Cloud Computing Expo, NYC to attend= a live session by Head of Impetus Labs on ‘Secrets of Building a Clo= ud Vendor Agnostic PetaByte Scale Real-time Secure Web Application on the C= loud ‘.

Looking to leverage the Cloud for your Big Data Strategy ? Attend Impetus w= ebinar on May 27 by registering at http://www.impetus.com/webinar?eventid= =3D42 .


NOTE: This message may contain information that is confidential, proprietar= y, privileged or otherwise protected by law. The message is intended solely= for the named addressee. If received in error, please destroy and notify t= he sender. Any use of this email is prohibited when received in error. Impetus does not represent, warrant = and/or guarantee, that the integrity of this communication has been maintai= ned nor that the communication is free of errors, virus, interception or in= terference.
--_000_557E5EDB02B4C8459878EF1EC723AD281E2DF4A2mail1impetuscoi_--