Cassandra is up and running. Let's test the waters. Just do a complete CRUD (create, retrieve, update, and delete) operation in cassandra-cli. The following snippet shows the complete operation. cassandra-cli can be accessed from
$CASSANDRA_HOME/bin/cassandra-cli. It is the Cassandra command-line interface. You can learn more about it in the Appendix.
# Log into cassandra-cli $ /home/nishant/apps/apache-cassandra-1.1.11/bin/cassandra-cli -h localhost Connected to: "nishant_sandbox" on localhost/9160 Welcome to Cassandra CLI version 1.1.11 Type 'help;' or '?' for help. Type 'quit;' or 'exit;' to quit.
Create a keyspace named
crud. Note that we are not using a lot of the options that we may set to a Keyspace during its creation. ...