On Mon, Apr 29, 2013 at 1:17 PM, aaron morton <aa...@thelastpickle.com> wrote:
> Bulk Loader does not use CL, it's more like a repair / bootstrap.
> If you have to skip a node then use repair.

The bulk loader ("sstableloader") can ignore replica nodes via -i option :

./src/java/org/apache/cassandra/tools/BulkLoader.java
"
            options.addOption("i",  IGNORE_NODES_OPTION, "NODES",
"don't stream to this (comma separated) list of nodes");
"

This is one of the major differences between the bulkLoad JMX call and
sstableloader, if bulkLoad fails on a single replica you have to send
to all replicas again.

Also of note, it is confusing that JMX "bulkLoad" operation actually
uses sstableloader class and not BulkLoader class, and sstableloader
tool uses BulkLoader class which . Perhaps this line in BulkLoader
java should be changed from :

"    private static final String TOOL_NAME = "sstableloader"; "
to
"    private static final String TOOL_NAME = "bulkloader"; "

?

=Rob

Reply via email to