Return-Path: Delivered-To: apmail-cassandra-commits-archive@www.apache.org Received: (qmail 32108 invoked from network); 26 May 2010 12:49:56 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 26 May 2010 12:49:56 -0000 Received: (qmail 41769 invoked by uid 500); 26 May 2010 12:49:55 -0000 Delivered-To: apmail-cassandra-commits-archive@cassandra.apache.org Received: (qmail 41755 invoked by uid 500); 26 May 2010 12:49:55 -0000 Mailing-List: contact commits-help@cassandra.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cassandra.apache.org Delivered-To: mailing list commits@cassandra.apache.org Received: (qmail 41747 invoked by uid 500); 26 May 2010 12:49:54 -0000 Delivered-To: apmail-incubator-cassandra-commits@incubator.apache.org Received: (qmail 41744 invoked by uid 99); 26 May 2010 12:49:54 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 26 May 2010 12:49:54 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.130] (HELO eos.apache.org) (140.211.11.130) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 26 May 2010 12:49:52 +0000 Received: from eos.apache.org (localhost [127.0.0.1]) by eos.apache.org (Postfix) with ESMTP id 8959F1761E; Wed, 26 May 2010 12:49:31 +0000 (GMT) MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable From: Apache Wiki To: Apache Wiki Date: Wed, 26 May 2010 12:49:31 -0000 Message-ID: <20100526124931.6939.46561@eos.apache.org> Subject: =?utf-8?q?=5BCassandra_Wiki=5D_Trivial_Update_of_=22FAQ=22_by_gdusbabek?= X-Virus-Checked: Checked by ClamAV on apache.org Dear Wiki user, You have subscribed to a wiki page or wiki category on "Cassandra Wiki" for= change notification. The "FAQ" page has been changed by gdusbabek. The comment on this change is: Unlink LongType in faq answer.. http://wiki.apache.org/cassandra/FAQ?action=3Ddiff&rev1=3D66&rev2=3D67 -------------------------------------------------- = =3D=3D Insert operation throws InvalidRequestException with message "A lo= ng is exactly 8 bytes" =3D=3D = - You are propably using LongType column sorter in your column family. Long= Type assumes that the numbers stored into column names are exactly 64bit (8= bytes) long and in big endian format. Example code how to pack and unpack = an integer for storing into cassandra and unpacking it for php: + You are propably using !LongType column sorter in your column family. !Lo= ngType assumes that the numbers stored into column names are exactly 64bit = (8 bytes) long and in big endian format. Example code how to pack and unpac= k an integer for storing into cassandra and unpacking it for php: = {{{ /**