Re: sstableloader from java

2016-10-06 Thread Paul Weiss
I ended up create a utility class which combines the functionality of CQLSSTableWriter and the existing BulkLoader class which is used by the sstableloader. The code is located here: https://github.com/paul-weiss/cassandra-examples/blob/master/src/main/java/org/apache/cassandra/tools

Re: sstableloader from java

2016-09-21 Thread Paul Weiss
gt; class for an example of writing out sstables to disk and then using the > SSTableLoader class to stream them to a cluster. > > -Jeremiah > > > On Sep 21, 2016, at 7:18 PM, Paul Weiss wrote: > > > > Hi, > > > > Is it possible to call the sstableloader from

sstableloader from java

2016-09-21 Thread Paul Weiss
Hi, Is it possible to call the sstableloader from java instead using the command line program? I have a process that uses the CQLSSTableWriter and generates the sstable files but am looking for an end to end process that bulk loads without any manual intervention. Ideally would like to avoid fork