Wednesday, 2 April 2014

sstable2json for cassandra usage

I found the documentation to be incorrect, but this is how I use it on aws:

sudo touch /jsonfile
sudo chown ubuntu:ubuntu /jsonfile

sudo /cassandra/bin/sstable2json /cassandra/data/keyspacename/sstabledirectory/sstablename-data-db > /jsonfile

enjoy (thats not part of the code)