Yeah, at least you need to set up Schema for loading SSTable.
If you find anything that we can improve, please file JIRA.
On Sun, May 10, 2015 at 5:27 AM, Pierre Devops wrote:
> OK so I know a little more now, it's not doable in client mode ATM because
> it rely to much on server side stuff.
>
>
OK so I know a little more now, it's not doable in client mode ATM because
it rely to much on server side stuff.
It needs to initialize ColumnFamilyStore and use an instance of it
afterwards, which will require to much server-side configuration
initialization.
Secondly the way it streams is ineff
Thanks yuki, copying SSLTableLoader was the first thing I try, but without
success.
I checked BulkLoadConnectionFactory (
https://github.com/apache/cassandra/blob/trunk/src/java/org/apache/cassandra/tools/BulkLoadConnectionFactory.java)
and I don't see what it provide over the DefaultConnectionFac
You may also be interested in this going forward:
https://issues.apache.org/jira/browse/CASSANDRA-9259
> On May 9, 2015, at 3:31 PM, Yuki Morishita wrote:
>
> Hi Pierre,
>
> I haven't tried writing that kind of client, but I think it should work.
> Try providing your own connection provider as
Hi Pierre,
I haven't tried writing that kind of client, but I think it should work.
Try providing your own connection provider as in SSTableLoader
(https://github.com/apache/cassandra/blob/cassandra-2.1/src/java/org/apache/cassandra/io/sstable/SSTableLoader.java#L159).
If you encounter any excepti
Hi guys,
I don't know if it's possible but I need to export a raw sstable from a
node in client mode via streaming protocol (the opposite of bulk load),
what I want to do :
public static void main(String[] args) throws Exception {
> Config.setClientMode(true);
> StreamPlan pl