Return-Path: Delivered-To: apmail-cassandra-user-archive@www.apache.org Received: (qmail 39705 invoked from network); 18 May 2010 19:53:34 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 18 May 2010 19:53:34 -0000 Received: (qmail 18983 invoked by uid 500); 18 May 2010 19:53:33 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 18964 invoked by uid 500); 18 May 2010 19:53:33 -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 18956 invoked by uid 99); 18 May 2010 19:53:33 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 18 May 2010 19:53:33 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of schildmeijer@gmail.com designates 209.85.219.226 as permitted sender) Received: from [209.85.219.226] (HELO mail-ew0-f226.google.com) (209.85.219.226) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 18 May 2010 19:53:25 +0000 Received: by ewy26 with SMTP id 26so166783ewy.5 for ; Tue, 18 May 2010 12:53:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:mime-version :content-type:subject:date:in-reply-to:to:references:message-id :x-mailer; bh=gKU5GKesmupxUUifx0Nh7/f4+R4x01FKw7U6BsDYpYk=; b=j77ZLYgrrfehqrMQm52WuiFULq7rZTWsXTaElcjmrn5hbLza5g/h/zJAo2sM7zJ6H7 dlO3Zg1cwEcyFBK8f4Tx4AQyUS82Ig2WUeNRYZHaxm63jhWDCfIEq9FHxL8SkE9qt2fa wocb6GyM9vq4zeW29XO1xontMtxFzhNEBLsHM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:mime-version:content-type:subject:date:in-reply-to:to :references:message-id:x-mailer; b=w1UA7k1XIVuJS3Zfzglcuaikx7g5Foxr8kBsKLqhYuF8qVb+h3PM++Qv/YUKAuNvjQ ocTGjOA3eQwT36M/370PFDYBQYhi7ETSNZm7SQKgRn0MLP9bmLPYmMS6GgT2wf75GgOX hNDkptu4qoP2kmZ8V8DW1HsElLRLl0ls1yY0k= Received: by 10.213.44.71 with SMTP id z7mr3302483ebe.53.1274212384945; Tue, 18 May 2010 12:53:04 -0700 (PDT) Received: from [192.168.0.123] (h55eb1f49.selukra.dyn.perspektivbredband.net [85.235.31.73]) by mx.google.com with ESMTPS id 15sm3229203ewy.12.2010.05.18.12.53.03 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 18 May 2010 12:53:04 -0700 (PDT) From: Roger Schildmeijer Mime-Version: 1.0 (Apple Message framework v1078) Content-Type: multipart/alternative; boundary=Apple-Mail-10--447562348 Subject: Re: Help with UUID in C#.net Date: Tue, 18 May 2010 21:53:00 +0200 In-Reply-To: <76881808D20F934BB52FE89946477DF05330714FEC@MAIL02.planettele.com> To: user@cassandra.apache.org References: <76881808D20F934BB52FE89946477DF05330714FEC@MAIL02.planettele.com> Message-Id: <7AAD5E1E-B4DF-47E2-A45D-2DF5D59EE501@gmail.com> X-Mailer: Apple Mail (2.1078) X-Virus-Checked: Checked by ClamAV on apache.org --Apple-Mail-10--447562348 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii Nick Berardi's blog post about Cassandra in conjunction with c#/.net and = TimeUUID describes how to do. =20 http://www.coderjournal.com/2010/04/creating-a-time-uuid-guid-in-net/ // Roger Schildmeijer On 18 maj 2010, at 21.45em, Sandeep wrote: > Hi all, > =20 > I am new to Cassandra. I am trying to insert some values to the = columnfamily. The definition of columnfamily in the config file is as = follows. > =20 > ColumnType=3D"Super" > CompareWith=3D"TimeUUIDType" > CompareSubcolumnsWith=3D"UTF8Type"/> > =20 > =20 > When ever I try to insert values to I always get = "InvalidRequestException(why: UUIDs must be exactly 16 bytes)". > =20 > I am using batch_mutate() to insert column. > =20 > How can I insert values to the column family. > =20 > Thanks, > Sandeep. --Apple-Mail-10--447562348 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=us-ascii
Nick Berardi's blog post about Cassandra in = conjunction with c#/.net and TimeUUID describes how to do. =  

http://www.coderjournal.com/2010/04/creating-a-time-uuid-guid-in-net/=

// Roger Schildmeijer

On = 18 maj 2010, at 21.45em, Sandeep wrote:

 
I = am new to Cassandra. I am trying to insert some values to the = columnfamily. The definition of columnfamily in the config file is as = follows.
 
<ColumnFamily =3D"
 =3D"
 =3D"
 =3D"UTF8Type"When ever I try to insert = values to I always get   "InvalidRequestException(why: = UUIDs must be exactly 16 bytes)".
I am using batch_mutate() to = insert column.
 
Thanks,