An open API service indexing awesome lists of open source software.

https://github.com/riptano/cdm-java

Java version of CDM
https://github.com/riptano/cdm-java

Last synced: about 1 year ago
JSON representation

Java version of CDM

Awesome Lists containing this project

README

          

# Cassandra Dataset Manager

Cassandra Dataset Manager, referred to simply as `cdm`, is a tool to learn how to use Cassandra.

The easiest way to get started is to [download cdm](https://github.com/riptano/cdm-java/releases/download/0.11/cdm) and put it somewhere in your path.

Work in progress. Original cdm was written in Python but is being ported to Java for maintainability and the ability to easy distribute a single file.

## Building

You can build an executable via the following command:

`src/main/sh/build_runnable.sh`

This will create a JAR with a bash wrapper in the `bin` directory that you can drop in your $PATH and run like a normal Linux/Mac executable.

CDM doesn't currently work on windows as it's dependent on bash and cqlsh. There are plans to lift this restriction.

## Install a dataset

Assuming you've put the `cdm` executable in your path, you should be able to run `cdm update` and see an updated list of datasets. Run `cdm list` to see all the ones available. `cdm install ` loads your data in your local cassandra cluster. For instance, `cdm install movielens`.