:23 AM
To: user@cassandra.apache.org
Subject: Re: InvalidRequestException(why:Not enough bytes to read value of
component 0)
+1 for Sylvain's answer.
This normally happens, if validation class for column value(s) differs.
-Vivek
On Thu, Jul 18, 2013 at 12:08 PM, Sylvain Lebresne
mailto
+1 for Sylvain's answer.
This normally happens, if validation class for column value(s) differs.
-Vivek
On Thu, Jul 18, 2013 at 12:08 PM, Sylvain Lebresne wrote:
> I don't know Hector very much really, but I highly suspect that
> "ts.toString()" is wrong, since composite column names are not s
I don't know Hector very much really, but I highly suspect that
"ts.toString()" is wrong, since composite column names are not strings. So
again, not a Hector expert, but I can't really see how converting the
composite into string could work.
--
Sylvain
On Wed, Jul 17, 2013 at 11:14 PM, Rahul Gu
It looks like the client is not sending the correct bytes.
Are you using Hector or Astyanax? It kind of looks like you are using raw
thrift, using a pre-written client is much easier.
Cheers
-
Aaron Morton
Freelance Cassandra Developer
New Zealand
@aaronmorton
http://www.thel
> 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