Monday 21 April 2014

Install Java 8 Ubuntu

sudo add-apt-repository ppa:webupd8team/java

sudo apt-get update

sudo apt-get install oracle-java8-installer

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)