> I am ussing this schema created with cassandra-cli:
>
> CREATE COLUMN FAMILY
> Relationships
> WITH
> key_validation_class = 'CompositeType(UTF8Type, UTF8Type)'
> AND
> comparator = UTF8Type
>
> AND
> default_validation_class = IntegerType
> ;
>
> from
> https://github.com/amorton/wdcnz-2012-site/blob/master/cassandra-schema.txt
>
> I am using cassandra 1.1.6. I want to have a composite rowkey, i can
> insert with thrift but when i try to get the information from a row i have
> this exception
>
> this exception using get.client
> InvalidRequestException(why:Not enough bytes to read value of component 0)
> at
> org.apache.cassandra.thrift.Cassandra$get_result.read(Cassandra.java:6014)
> at org.apache.thrift.TServiceClient.receiveBase(TServiceClient.java:78)
> at
> org.apache.cassandra.thrift.Cassandra$Client.recv_get(Cassandra.java:514)
> at org.apache.cassandra.thrift.Cassandra$Client.get(Cassandra.java:499)
> at ThirftGet.main(ThirftGet.java:60)
>
>
> this exception using client.get_slice
> Exception in thread "main" InvalidRequestException(why:Not enough bytes to
> read value of component 0)
> at
> org.apache.cassandra.thrift.Cassandra$get_slice_result.read(Cassandra.java:7280)
> at org.apache.thrift.TServiceClient.receiveBase(TServiceClient.java:78)
> at
> org.apache.cassandra.thrift.Cassandra$Client.recv_get_slice(Cassandra.java:552)
> at
> org.apache.cassandra.thrift.Cassandra$Client.get_slice(Cassandra.java:536)
> at ThirftGet.main(ThirftGet.java:77)
>
> thanks in advance
>