UUID Cassandra.

Posted by Sandeep on Stack Overflow See other posts from Stack Overflow or by Sandeep
Published on 2010-05-18T19:50:52Z Indexed on 2010/05/19 6:40 UTC
Read the original article Hit count: 150

Filed under:

Hi all,

I am new to Cassandra. I am trying to insert some values to the columnfamily. The definition of columnfamily in the config file is as follows.

<ColumnFamily Name="CommandQueue"
                    ColumnType="Super"
                    CompareWith="TimeUUIDType"
                    CompareSubcolumnsWith="UTF8Type"/>

When ever I try to insert values to I always get "InvalidRequestException(why: UUIDs must be exactly 16 bytes)".

I am using batch_mutate() to insert column.

How can I insert values to the column family.

© Stack Overflow or respective owner

Related posts about cassandra