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.

Source Distribution

cassandra-quickstart-0.1.tar.gz (6.8 kB view details)

Uploaded Source

File details

Details for the file cassandra-quickstart-0.1.tar.gz.

File metadata

File hashes

Hashes for cassandra-quickstart-0.1.tar.gz
Algorithm Hash digest
SHA256 00833e3fe10f00012e03bedab5986e5dc3b7835d0d99bc29fc1a90c00c76986c
MD5 bce95c09b21fd7f83a6a41027635d307
BLAKE2b-256 848473217346e1423bcf89a1040cd4cdc93e09c869ca05dadfea97ced3505dbb

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page