cassandra-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Paul Weiss <paulweiss....@gmail.com>
Subject Re: sstableloader from java
Date Thu, 22 Sep 2016 01:16:49 GMT
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" <jeremiah.jordan@gmail.com>
wrote:

> 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 <paulweiss.dev@gmail.com> wrote:
> >
> > 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 forking another process so I can properly
> check
> > for errors.
> >
> > Thanks,
> > -paul
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message