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/BulkWriterLo

Re: sstableloader from java

2016-09-21 Thread J. D. Jordan
Yeah. I wouldn't use that class, I was just pointing it out as an example of code doing a similar thing. > On Sep 21, 2016, at 8:16 PM, Paul Weiss wrote: > > Great will try out. I noticed the code is within the hadoop folder, I am > using local disk so hopefully it will work without hadoop.

Re: sstableloader from java

2016-09-21 Thread Paul Weiss
Great will try out. I noticed the code is within the hadoop folder, I am using local disk so hopefully it will work without hadoop. Thanks, -paul On Sep 21, 2016 8:56 PM, "Jeremiah D Jordan" wrote: > Yes using the SSTableLoader class. You can see the CqlBulkRecordWriter > class for an examp

Re: sstableloader from java

2016-09-21 Thread Jeremiah D Jordan
Yes using the SSTableLoader class. You can see the CqlBulkRecordWriter 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 s