incubator-cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aaron morton <aa...@thelastpickle.com>
Subject Re: Using RowMutations with super columns
Date Thu, 31 Mar 2011 13:02:46 GMT
The CassandraBulkLoader example is written to use Super Columns, so seems odd.  

Do you have the rest of the error stack ? 

Aaron


On 31 Mar 2011, at 04:54, George Ciubotaru wrote:

> Hello,
>  
> I’m using CassandraBulkLoader.java (https://svn.apache.org/repos/asf/cassandra/trunk/contrib/bmt_example/CassandraBulkLoader.java)
as base to build a bulk loader. Everything works fine for standard column families but it
fails when trying to insert data in super columns throwing this exception:
>  
> Exception in thread "main" java.lang.UnsupportedOperationException: This operation is
not supported for Super Columns.
>                 at org.apache.cassandra.db.SuperColumn.timestamp(SuperColumn.java:143)
>                 at org.apache.cassandra.db.ColumnSerializer.serialize(ColumnSerializer.java:55)
>                 at org.apache.cassandra.db.ColumnSerializer.serialize(ColumnSerializer.java:35)
>                 at org.apache.cassandra.db.ColumnFamilySerializer.serializeForSSTable(ColumnFamilySerializer.java:87)
>                 at org.apache.cassandra.db.ColumnFamilySerializer.serializeWithIndexes(ColumnFamilySerializer.java:106)
>  
> Any idea here?
>  
> Thank you,
> George


Mime
View raw message