incubator-cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Davide Anastasia <davide.anasta...@gmail.com>
Subject Re: Bulk loader with Cassandra 1.2.5
Date Fri, 07 Jun 2013 10:24:26 GMT
Hi Keith,
You are my hero :-)
It does work now.

Thanks a lot,
Davide
On 7 Jun 2013 10:57, "Keith Wright" <kwright@nanigans.com> wrote:

> Looking into it further, I believe your issue is that you did not define
> the table with compact storage.  Without that, CQL3 will treat every column
> as a composite (as is hinted in your stack trace where you see
> AbstractCompositeType 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 = {'class' : 'LeveledCompactionStrategy' }
>
>
> From: Davide Anastasia <davide.anastasia@gmail.com>
> Reply-To: "user@cassandra.apache.org" <user@cassandra.apache.org>
> Date: Friday, June 7, 2013 2:11 AM
> To: "user@cassandra.apache.org" <user@cassandra.apache.org>
> Subject: Re: Bulk loader with Cassandra 1.2.5
>
> AbstractCompositeType.java
>

Mime
View raw message