Re: json2sstable

2011-04-13 Thread Steven Teo
at org.apache.cassandra.tools.SSTableImport.importJson(SSTableImport.java:197) at org.apache.cassandra.tools.SSTableImport.main(SSTableImport.java:421) thanks! Steven Teo On 13-Apr-2011, at 1:15 PM, Steven Teo wrote: > the data is a custom json, seems like i may have got the structure wrong. >

Re: json2sstable

2011-04-12 Thread Steven Teo
the data is a custom json, seems like i may have got the structure wrong. how should the import json be like? Steven Teo On 13-Apr-2011, at 10:43 AM, aaron morton wrote: > Reading the code looks like it could not find a subColumns item for the row > in the json file. > > The ta

json2sstable

2011-04-12 Thread Steven Teo
Hi, I am trying to run json2sstable with the following command but am receiving the below error. json2sstable -K testks -c testcf output.json /var/lib/cassandra/data/testks/testcf-f-1-Data.db Importing 321 keys... java.lang.NullPointerException at org.apache.cassandra.tools.SS