Skip to content

mbaird/sstableloader-csv

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

THIS IS PURE ANCIENT.

This is 4 years old and likely doesn't work anymore. You're of course welcome to fork & update, but I won't be providing support for this. Good luck!

sstableloader-csv

This tool parses CSV files into sstables for Apache Cassandra. It was written for a project involving the need to parse ~75 Million row CSV files.

Installation

Run the 'run' script with 3 arguments - <keyspace> <column> <input>

For example:

   ./run.sh Test Data test.csv

Requirements

  • $CASSANDRA_HOME must be set to the location of the apache-cassandra.jar & associated libraries.
  • $CASSANDRA_CONFIG must be set to the location of your cassandra.yml config.

Note

The number of columns & names are coded in DataImport.java, you'll need to change these yourself. There isn't also any error handling in the parsing, the data I was handling was known to be error-free.

About

Deprecated utility to load large CSV files into sstables

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published