You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cassandra.apache.org by Steven Teo <st...@gmail.com> on 2011/04/12 18:48:14 UTC

json2sstable

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.SSTableImport.addColumnsToCF(SSTableImport.java:136)
	at org.apache.cassandra.tools.SSTableImport.addToSuperCF(SSTableImport.java:173)
	at org.apache.cassandra.tools.SSTableImport.importUnsorted(SSTableImport.java:228)
	at org.apache.cassandra.tools.SSTableImport.importJson(SSTableImport.java:197)
	at org.apache.cassandra.tools.SSTableImport.main(SSTableImport.java:421)
ERROR: null

anything i did wrongly here?

Thanks!