Re: Getting error while inserting data in cassandra table using Java with JDBC

2013-04-17 Thread himanshu.joshi
On 04/18/2013 12:06 AM, aaron morton wrote: What version are you using ? And what JDBC driver ? Sounds like the driver is not converting the value to bytes for you. I guess the problem may because of undefined key_validation_class,default_validation_class and comparator etc. If you are using

Re: Getting error while inserting data in cassandra table using Java with JDBC

2013-04-17 Thread aaron morton
What version are you using ? And what JDBC driver ? Sounds like the driver is not converting the value to bytes for you. > I guess the problem may because of undefined > key_validation_class,default_validation_class and comparator etc. If you are using CQL these are not relevant. Cheers --

Getting error while inserting data in cassandra table using Java with JDBC

2013-04-17 Thread himanshu.joshi
Hi, When I am trying to insert the data into a table using Java with JDBC, I am getting the error InvalidRequestException(why:cannot parse 'Jo' as hex bytes) My insert quarry is: insert into temp(id,name,value,url_id) VALUES(108, 'Aa','Jo',10); This insert quarry is running successfully fro

RE: INserting data in Cassandra

2012-04-11 Thread Aliou SOW
Thanks :) But finally i used Hector and it works fine :D Date: Wed, 11 Apr 2012 17:19:15 +0200 From: berna...@gmail.com To: user@cassandra.apache.org Subject: Re: INserting data in Cassandra On 04/11/12 11:42, Aliou SOW wrote: And I

Re: INserting data in Cassandra

2012-04-11 Thread Paolo Bernardi
On 04/11/12 11:42, Aliou SOW wrote: And I used the tool json2sstable, but that does not work, I always have an error: java.lang.RuntimeException: Can't write Super columns to the Standard Column Family. So I have two questions: 1) What I did wrong, must I define the complete structure of m

RE: INserting data in Cassandra

2012-04-11 Thread Aliou SOW
Hello, Any help Or idea? Thanks From: aliouji...@hotmail.com To: user@cassandra.apache.org Subject: INserting data in Cassandra Date: Wed, 11 Apr 2012 09:42:52 + Hello all, We would like to adopt Cassandra solution for storing our biological data which are essentially microarray