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 [mailto:jbel...@gmail.com] 
Sent: Wednesday, July 13, 2011 11:06 AM
To: user@cassandra.apache.org
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 <stephen.p...@quest.com> 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 [mailto:stephen.p...@quest.com]
> Sent: Wednesday, July 13, 2011 9:32 AM
> To: user@cassandra.apache.org
> 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
http://www.datastax.com

Reply via email to