cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Keith Wright <>
Subject Re: Bulk loader with Cassandra 1.2.5
Date Fri, 07 Jun 2013 09:56:13 GMT
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)


and compaction = {'class' : 'LeveledCompactionStrategy' }

From: Davide Anastasia <<>>
Reply-To: "<>" <<>>
Date: Friday, June 7, 2013 2:11 AM
To: "<>" <<>>
Subject: Re: Bulk loader with Cassandra 1.2.5

View raw message