cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aaron morton <>
Subject Re: JMX BulkLoad weirdness
Date Sun, 15 Jan 2012 18:07:37 GMT
If you are doing a straight one-to-one copy from one cluster to another try…

1) nodetool snapshot on each prod node for the system and application key spaces.
2) rsync system and app key space snapshots
3) update the yaml files on the new cluster to have the correct initial_tokens. This is not
necessary as they are stored in the system KS, but it is limits surprises later. 
4) Start the new cluster. 

For bulk load you will want to use the sstableloader


Aaron Morton
Freelance Developer

On 14/01/2012, at 3:32 AM, Scott Fines wrote:

> Hi all,
> I'm trying to copy a column family from our production cluster to our development one
for testing purposes, so I thought I would try the bulkload API. Since I'm lazy, I'm using
the Cassandra bulkLoad JMX call from one of the development machines. Here are the steps I
> 1. (on production C* node): nodetool flush <keyspace> <CF>
> 2. rsync SSTables from production C* node to development C* node
> 3. bulkLoad SSTables through JMX
> But when I do that, on one of the development C* nodes, I keep getting this exception:
> java.lang.NullPointerException
> at
> at
> at
> at org.apache.cassandra.streaming.IncomingStreamReader.streamIn(
> at
> at
> After which, the node itself seems to stream data successfully (I'm in the middle of
checking that right now).
> Is this an error that I should be concerned about? 
> Thanks,
> Scott

View raw message