Skip to content

For importing large amount of data into C*. Prepare sstable files using org.apache.cassandra.io.sstable.CQLSSTableWriter. Then use sstableloader to bulk import data into C*.

Notifications You must be signed in to change notification settings

larrysu1115/cassandra-data-loader

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

cassandra-data-loader

For importing large amount of data into C*. Prepare sstable files using org.apache.cassandra.io.sstable.CQLSSTableWriter. Then use sstableloader to bulk import data into C*.

Example Usage

please see this for detail steps.

sbt "\
run -k myks -t sampledata -p c1,c2 \
-c c1=varchar,c2=double,c3=date \
-f /Users/larrysu/repos/data/test/sample.csv \
-o /Users/larrysu/repos/data/test/sstable/myks/sampledata"
cqlsh> CREATE KEYSPACE myks WITH REPLICATION = { 'class' : 'SimpleStrategy', 'replication_factor' : 1 };
sstableloader -d 127.0.0.1 /Users/larrysu/repos/data/test/sstable/myks/sampledata

About

For importing large amount of data into C*. Prepare sstable files using org.apache.cassandra.io.sstable.CQLSSTableWriter. Then use sstableloader to bulk import data into C*.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages