: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
LOGGER.*log*(Level.*WARNING*, "Unable
>> to store record", ex);
>>
>> }
>>
>> *return* *false*;****
>>
>> }
>>
>> ** **
>>
>>
Date vDate = *new* Date(0);
>
> sumLoad SumLoad = *new* sumLoad();
>
> SumLoad.storeCounts("b9874e3e-4a0e-4e60-ae23-c3f1e575af93", "event_counts",
> vDate, "StoreThisString", 673);
>
> }
t;,
vDate, "StoreThisString", 673);
}
}
Error:
[main] INFO me.prettyprint.cassandra.service.JmxMonitor - Registering JMX
me.prettyprint.cassandra.service_Dev:ServiceType=hector,MonitorType=hector
Unable to store record
me.prettyprint.hector.api.exceptions.
th 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)
&g
gt; 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(