Quick Getting-Started on Apache Cassandra for Mac OS X Easy-Visual Guide

May 12th, 2013 by Regaz

The Guide Shows You Step-by-Step How-to Quick Start with Connection and Data Insertion/Query for the Apache Cassandra NoSQL Database for Mac OS X Desktop.

If You do Not Already Dispose of a Cassandra Working Installation below Link to SetUp on Mac OS X.

The Content and Details are Essentials and Give Focus only to Instructions and Commands.

Linux Gnome Penguin Cassandra
  1. How-to Install and Start Cassandra on Mac OS X:

    Cassandra Installation Mac

  2. Open Terminal Window
    (Press “Enter” to Execute Commands)
  3. Connect to Cassandra Running Instance
    cd /cassandra
  4. Create Keyspace and Column Family
    create keyspace testkeysp
    use testkeysp
    create column family testcolfam
    with key_validation_class = 'UTF8Type'
    and comparator = 'UTF8Type'
    and default_validation_class = 'UTF8Type';
  5. Insert and Read Back Data
    set testcolfam[1][name] = turing;
    get testcolfam[1];

Tags: , , , , , , , ,