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
<[email protected]<mailto:[email protected]>>
Reply-To: "[email protected]<mailto:[email protected]>"
<[email protected]<mailto:[email protected]>>
Date: Friday, June 7, 2013 2:11 AM
To: "[email protected]<mailto:[email protected]>"
<[email protected]<mailto:[email protected]>>
Subject: Re: Bulk loader with Cassandra 1.2.5
AbstractCompositeType.java