brianmhess / cassandra-loader

Delimited file loader for Cassandra
Apache License 2.0
197 stars 93 forks source link

Unload into single file #42

Closed ndeokate-navico closed 8 years ago

ndeokate-navico commented 8 years ago

I see when I try unloader, it creates multiple files. It uses filename given along with -f option. Question is: Can I get all data into a single file?

brianmhess commented 8 years ago

Yes. Set the number of threads "-numThreads" to 1. Alternatively, you can set "-f stdout" which will put the data to STDOUT and you can redirect that to a file: cassandra-loader -f stdout ... > /path/to/file.csv

ndeokate-navico commented 8 years ago

cool thanks