cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stephen Pope <>
Subject RE: BulkLoader
Date Wed, 13 Jul 2011 15:22:41 GMT
 Fair enough. My original question stands then. :) 

 Why aren't you allowed to talk to a local installation using BulkLoader?

-----Original Message-----
From: Jonathan Ellis [] 
Sent: Wednesday, July 13, 2011 11:06 AM
Subject: Re: BulkLoader

Sure, that will work fine with a single machine.  The advantage of
bulkloader is it handles splitting the sstable up and sending each
piece to the right place(s) when you have more than one.

On Wed, Jul 13, 2011 at 7:47 AM, Stephen Pope <> wrote:
>  I think I've solved my own problem here. After generating the sstable using json2sstable
it looks like I can simply copy the created sstable into my data directory.
>  Can anyone think of any potential problems with doing it this way?
> -----Original Message-----
> From: Stephen Pope []
> Sent: Wednesday, July 13, 2011 9:32 AM
> To:
> Subject: BulkLoader
>  I'm trying to figure out how to use the BulkLoader, and it looks like there's no way
to run it against a local machine, because of this:
>                Set<InetAddress> hosts = Gossiper.instance.getLiveMembers();
>                hosts.remove(FBUtilities.getLocalAddress());
>                if (hosts.isEmpty())
>                    throw new IllegalStateException("Cannot load any sstable,
no live member found in the cluster");
>  Is this intended behavior? May I ask why? We'd like to be able to run it against the
local machine.
>  Cheers,
>  Steve

Jonathan Ellis
Project Chair, Apache Cassandra
co-founder of DataStax, the source for professional Cassandra support

View raw message