Skip to main content

Quickstart tool for installing and managing Cassandra in development environments

Project description

This tool downloads Cassandra, Java, ccm, and drivers into your home directory (~/.cassandra-quickstart) and starts a single node Cassandra cluster. This is meant to be useful for protyping and development tasks, not for production.

The idea is to have a one-liner to install everything you need to use Cassandra on Linux, Mac OSX, or Windows. The only requirement is that you have Python installed (2.7 tested) which every Linux and Mac system should have pre-installed. In the future I plan to distribute an .exe for Windows that bundles all the requirements.

Windows is currently broken in this 0.1 release.

Install

easy_install cassandra-quickstart

One line to create and start a cluster

cassandra-quickstart install

Commands

usage: cassandra-quickstart [-h] [--config CONFIG_DIRECTORY] [--name CLUSTER_NAME]
       {install,destroy,start,stop,cqlsh,nodetool,status,help} ...

Cassandra Quickstart

positional arguments:
  {install,destroy,start,stop,cqlsh,nodetool,status,help}
    install             Install Cassandra
    destroy             Remove Cassandra
    start               Start Cassandra
    stop                Stop Cassandra
    cqlsh               Cassandra Shell
    nodetool            Cassandra node management tool (ex: nodetool ring)
    status              Print status of cluster

optional arguments:
  -h, --help            show this help message and exit
  --config CONFIG_DIRECTORY
                        Configuration directory (default is ~/.cassandra-
                        quickstart)
  --name CLUSTER_NAME   Name of the cluster to operate on (default is
                        'cassandra')

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for cassandra-quickstart, version 0.1
Filename, size File type Python version Upload date Hashes
Filename, size cassandra-quickstart-0.1.tar.gz (6.8 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page