From user-return-34504-apmail-cassandra-user-archive=cassandra.apache.org@cassandra.apache.org Fri Jun 7 09:57:05 2013 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 3448010D4E for ; Fri, 7 Jun 2013 09:57:05 +0000 (UTC) Received: (qmail 291 invoked by uid 500); 7 Jun 2013 09:57:02 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 265 invoked by uid 500); 7 Jun 2013 09:57: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 251 invoked by uid 99); 7 Jun 2013 09:57:02 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 07 Jun 2013 09:57:02 +0000 X-ASF-Spam-Status: No, hits=2.2 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_NONE,UNPARSEABLE_RELAY X-Spam-Check-By: apache.org Received-SPF: error (athena.apache.org: local policy) Received: from [216.82.243.206] (HELO mail1.bemta8.messagelabs.com) (216.82.243.206) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 07 Jun 2013 09:56:55 +0000 Received: from [216.82.242.99:17049] by server-14.bemta-8.messagelabs.com id A1/D4-07081-E3EA1B15; Fri, 07 Jun 2013 09:56:14 +0000 X-Env-Sender: kwright@nanigans.com X-Msg-Ref: server-11.tower-131.messagelabs.com!1370598973!22874063!1 X-Originating-IP: [216.166.12.31] X-StarScan-Received: X-StarScan-Version: 6.9.6; banners=-,-,- X-VirusChecked: Checked Received: (qmail 14672 invoked from network); 7 Jun 2013 09:56:14 -0000 Received: from out001.collaborationhost.net (HELO out001.collaborationhost.net) (216.166.12.31) by server-11.tower-131.messagelabs.com with RC4-SHA encrypted SMTP; 7 Jun 2013 09:56:14 -0000 Received: from AUSP01VMBX28.collaborationhost.net ([192.168.20.73]) by AUSP01MHUB01.collaborationhost.net ([10.2.8.25]) with mapi; Fri, 7 Jun 2013 04:56:12 -0500 From: Keith Wright To: "user@cassandra.apache.org" Date: Fri, 7 Jun 2013 04:56:13 -0500 Subject: Re: Bulk loader with Cassandra 1.2.5 Thread-Topic: Bulk loader with Cassandra 1.2.5 Thread-Index: Ac5jZT2T9XWlEBJrTqe6Q+rTIYil1g== Message-ID: In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: user-agent: Microsoft-MacOutlook/14.2.3.120616 acceptlanguage: en-US Content-Type: multipart/alternative; boundary="_000_CDD725E3F767kwrightnaniganscom_" MIME-Version: 1.0 X-Virus-Checked: Checked by ClamAV on apache.org --_000_CDD725E3F767kwrightnaniganscom_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Looking into it further, I believe your issue is that you did not define th= e table with compact storage. Without that, CQL3 will treat every column a= s a composite (as is hinted in your stack trace where you see AbstractCompo= siteType is the cause of the error). Try changing your table definition as= follows: create table users ( id uuid primary key, firstname varchar, lastname varchar, password varchar, age int, email varchar) WITH COMPACT STORAGE and compaction =3D {'class' : 'LeveledCompactionStrategy' } From: Davide Anastasia > Reply-To: "user@cassandra.apache.org" > Date: Friday, June 7, 2013 2:11 AM To: "user@cassandra.apache.org" > Subject: Re: Bulk loader with Cassandra 1.2.5 AbstractCompositeType.java --_000_CDD725E3F767kwrightnaniganscom_ Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable
Looking into it further,= I believe your issue is that you did not define the table with compact sto= rage.  Without that, CQL3 will treat every column as a composite (as i= s hinted in your stack trace where you see AbstractCompositeType is the cau= se of the error).  Try changing your table definition as follows:

create table users (
id uuid primary key,
firstname varchar,
lastname varchar,
password varchar,
age int,
email varchar)
WITH COMPACT STORAGE 
and compaction =3D {'class' : 'LeveledCompactionStrateg= y' }

From: Davide Anastasia <davide.anastasia@gmail.com>
Reply-To: "user@cas= sandra.apache.org" <use= r@cassandra.apache.org>
Date: Friday, June 7, 2013 2:11 AM
To: = "user@cassandra.apache= .org" <user@cassandra.a= pache.org>
Subject: Re: = Bulk loader with Cassandra 1.2.5

AbstractCompositeType.java= --_000_CDD725E3F767kwrightnaniganscom_--