Re: import data into cassandra

2010-02-24 Thread Eric Evans
On Wed, 2010-02-24 at 18:43 +0100, Martin Probst wrote: > host:/opt/cassandra# bin/json2sstable -K Keyspace1 -c > col1 ../utf8_cassandra.json data/Keyspace1/col1-2-Data.db > Exception in thread "main" java.lang.NumberFormatException: For input > string: "PR" > at > java.lang.NumberFormatEx

Re: import data into cassandra

2010-02-24 Thread Jonathan Ellis
I suggest getting it working via plain thrift calls before trying anything fancy. Otherwise it's probably premature optimization. On Wed, Feb 24, 2010 at 11:43 AM, Martin Probst wrote: > Hi, > > i'm playing around a little bit with cassandra and trying to load some data > into it. I've found th

import data into cassandra

2010-02-24 Thread Martin Probst
Hi, i'm playing around a little bit with cassandra and trying to load some data into it. I've found the sstable2json and json2sstable scripts inside the /bin dir and tried to work with this scripts. I've wrote a wrapper which transform csv's into a json file and the json-validator throws no fai