incubator-cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From George Ciubotaru <george.ciubot...@skillpages.com>
Subject Using RowMutations with super columns
Date Wed, 30 Mar 2011 17:54:03 GMT
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