Wednesday 8 January 2014

Cassandra: setup on Ubuntu12.04 machine

Introduction:-

Reading a lot about Cassandra these days. I think these links may help you to know more..
http://www.slideshare.net/rbranson/how-do-i-cassandra?from_search=5
Oops !! it is stealing the thunder....:D this one tells you most of the things you need to know about cassandra.

Here is my experience in my language, this may help you....

Ingredients:-

-->> Lets download the package...here is one extra step..you need to register yourself here first
        Oooh! you must have got a mail by now,  open the mail,
        go to this link to download the package
        pick the username and that long scrambled characters password from your mail.

-->> Do have the latest Oracle Java 6 or 7 on all nodes
        verify by the command:-

    $ java -version
Steps:-

Run the following commands where you have downloaded the tar.

  1. tar -xzf dse-3.2.2-bin.tar.gz
  2. cd dse-3.2.2/bin
  3. ./dse cassandra
  4. ./cqlsh

Result:-
Connected to Test Cluster at localhost:9160.
[cqlsh 2.3.0 | Cassandra 1.2.2 | CQL spec 3.0.0 | Thrift protocol 19.35.0]
Use HELP for help.
cqlsh>


It was really that easy????... OMG...I had been banging my head for one day... :P