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
- Host: GitHub
- URL: https://github.com/riptano/cdm-java
- Owner: riptano
- License: other
- Created: 2016-07-20T17:51:31.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2023-09-18T19:18:56.000Z (almost 3 years ago)
- Last Synced: 2025-03-31T10:04:58.335Z (about 1 year ago)
- Language: Java
- Size: 1.35 MB
- Stars: 18
- Watchers: 12
- Forks: 4
- Open Issues: 20
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
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`.