Ritesh M Nayak
Ritesh M Nayak

Reputation: 8043

Is there any good guide for using the Cassandra Command line Interface?

I wanted to try out Cassandra, and thought the easiest way to get up and running would be via the command line. I was wondering if there is a good guide to using the cli tool that is shipped with Cassandra. I am primarily looking for options to create column families, super columns, insert sample data and query them. The documentation on apache wiki is insufficient.

Upvotes: 3

Views: 5108

Answers (3)

Dileep Ch
Dileep Ch

Reputation: 23

We have two interfaces cli and cql

TO use cli cassandra-cli and to use cql cqlsh -hlocalhost 9160

For documentation

http://www.datastax.com/docs/1.0/index

Upvotes: 1

AAS
AAS

Reputation: 49

here are some books

Cassandra: The Definitive Guide by Eben Hewitt

Cassandra High Performance Cookbook by Edward Capriolo

I know that the post is old but other users would probably take benefit

Upvotes: 0

jbellis
jbellis

Reputation: 19377

Everything the cli can do, which isn't much, is contained in its online help.

$ cassandra-cli Welcome to cassandra CLI. Type 'help' or '?' for help. Type 'quit' or 'exit' to quit. cassandra> ? List of all CLI commands: ...

Upvotes: 4

Related Questions